vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=231525 |
Quote:
Quote:
|
Quote:
the condition you give is for every member... it can not be used in this case. |
Quote:
Quote:
|
Hi RL714,
I think your code is right. But this is not simple likes that, because it is not for only a member or owner site. I mean the number 318713 is the dynamic number, it is exactly userid in custom field table. So if condition is: $bbuserinfo['userid'] is exactly his userid, so he can see the value. But if the other member can not see. For example: you can see your custom field number 6, but I can not see it. And vice versa, I can see my custom field number 6, but you can not see mine. |
Thanks :)
|
Thank you for the article.
Please guide me in converting this to vb4:
and this one too please:
|
Thanks for your article
I want to add advertisement after the first post in some special forums so I edit the "ad_showthread_firstpost" Template and add this
But nothing change in the special forums and the ads not appear also if I used this
it's appear in all forums not only the special (1,2,3) Can you advice me plz ? Best regards |
Hoping someone can help...
I'm trying to convert this template conditional (in threadbit, I'm guessing it matters)...
Using the guide here, I know it should look like this, but it doesn't work:
Could it be that the $ignore variable isn't available in that template? I've seen mention of that in other articles here, I think. |
Anyone know a way of getting this to work?
{vb:raw title} returns The Latest exactly as I would expect when put into the style but for some reason it may not be working inside a conditional statement. =\ |
Quote:
Quote:
|
this is not work too with me :(
anyone can advice ?? |
Quote:
Do you know if there is any work around? |
I have an idea.
I want to give someone control of their own thread. I figure that a good way to do that would be to duplicate the supermoderator group, calling it "threadModerator", then only display the "show admintools" dropdown IF the current user is both a threadAdmin AND is author of the current thread. In other words, if the threadmoderator group is "100," How can I then say If currently_logged_in_user is threadmoderator and If currently_logged_in_user = thread_starter then show admintools I figure its something close to: <vb:if condition="is_member_of($bbuserinfo, 100)"> <vb:if condition="is_author_of($thread)"> show admintools </vb:if> </vb:if> It has to be something close to this...though I dont know how to query the system to find out the author of a thread...nor do I know how to reference the "show admintools" function...but I figure I've reasoned this out and given enough effort that one of you...who are MUCH better programmers than I...is willing to help me (and anyone that wants to use the code, giving myself and the person who cleans this up the credit). How bout it people? Can someone help with this...? |
What would the code be to only show on forumhome?
|
Quote:
|
All times are GMT. The time now is 02:50. |
Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.