![]() |
|
Article Options |
#241
|
||||
|
||||
Originally Posted by BirdOPrey5
Thanks for your efforts! I am grateful!![]()
Regards, Kether --------------- Added 25 Jun 2011 at 15:25 --------------- Just a follow-up update: I finally figured it out with your help, Joe. I went to the template and just started deleting bits and checking to see what was displayed. I found the bit that was causing the information to be displayed to everyone even though we told it to only display to the admin and user. After removing that code. It all worked!! Thanks again for your help. I appreciate it very much. Kether No members have liked this post.
|
#242
|
|||
|
|||
Hello,
Am looking for a template conditional for Blog pages. I tried this:
but this works only for the blog home page. I would want a template conditional that applies to all the blog pages. Thanks.
__________________
Regards, IndusLady Gobal Online Community for Indian Women Indian Ladies Discussion Forum No members have liked this post.
|
#243
|
||||||||
|
||||||||
Originally Posted by BirdOPrey5
An approach I have tested out but collided with other ads around the last post on a thread, if the showthread page contains only two or three postings. To overwhelming and filled with ads.![]()
I try to modify and create the ad-placements with a precheck, wether there are more then X posts on a showthread page or not. Dependencies:
Thatīs how it looks like so far - but I canīt find anything that could help me with the last if statement. Does anyone has an idea how this could be done? Isnīt there something in vB that can be used for that? May be Iīm just to blind but that damn thing ruined my whole day yesterday. I would be glad someone could lead a blind and help me out of this mess.. Any help appreciated. No members have liked this post.
|
#244
|
||||||||
|
||||||||
Hello,
Am looking for a template conditional: In Showthread page - postbit, the username of the poster needs to be in red color if she belongs to a particular usergroup id - 34, I tried this
But it does not seem to be working and I did the above template conditional in memberaction_dropdown Let me know the correct conditional that needs to go there. BTW the conditional to check if the page is a blog page including the blog index use the below:
Thanks.
__________________
Regards, IndusLady Gobal Online Community for Indian Women Indian Ladies Discussion Forum No members have liked this post.
|
#245
|
|||
|
|||
If I donīt get you wrong, thatīs already a built-in feature. Check the settings of the usergroup 34 in the usergroup-settings, 3rd checkbox should be the one you are looking for.
No members have liked this post.
|
#246
|
|||
|
|||
Hello Marv,
Thanks for the response. Guess you are talking about the "Username HTML markup". But this user has the usergroup id - 34 as her secondary user group ( and not primary user group). Hence the HTML markup - color code set in the usergroup setting is not output in the postbit. let me know how to obtain this. Thanks in advance.
__________________
Regards, IndusLady Gobal Online Community for Indian Women Indian Ladies Discussion Forum No members have liked this post.
|
#247
|
|||
|
|||
I think the condition is correct. Are you using post.musername or post.username? post.musername includes the group markup, which is probably overriding your color, so try post.username.
No members have liked this post.
|
#248
|
||||||||
|
||||||||
Originally Posted by induslady
I don't think $post can be used in memberaction_dropdown. I don't know what the alternative would be either- would probably need some custom plugins I think. ![]()
memberaction_dropdown is called from many different templates, not just the postbit.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#249
|
|||
|
|||
Oh, good point Joe, I saw postbit and missed memberaction_dropdown. Sorry induslady.
ETA: Actually I think you might be able to substitute $memberinfo for $post. You still may have to use username instead of musername. No members have liked this post.
Last edited by kh99; 30 Jun 2011 at 16:08. |
#250
|
|||
|
|||
How can I insert a banner in the first post of the every pages of the thread ?
No members have liked this post.
|
#251
|
||||
|
||||
Originally Posted by baghdad4ever
Open postbit template...![]()
find {vb:raw post.message} Either directly above it or below it add this code:
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. The following members like this post: baghdad4ever
|
#252
|
||||
|
||||
Originally Posted by BirdOPrey5
![]()
thanks alot it is worked perfectly ![]() is there any way to put the banner between the content of thread? ie: among words of post not before nor after thanks again No members have liked this post.
|
#253
|
||||
|
||||
Not with a template conditional... that would require some custom coding beyond the realm of this article.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#254
|
|||
|
|||
thanks alot for your kind reply
No members have liked this post.
|
#255
|
||||
|
||||
Hi,
I created a profile field that I'd like each usergroup to view but only want 3 usergroups to use. How do I go about that in postbit legacy? Here's what I have so far:
No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 22:56.