![]() |
|
Article Options |
#31
|
||||
|
||||
Originally Posted by huuquynh
you can use this line to show only register user![]()
No members have liked this post.
|
#32
|
|||
|
|||
sorry for my bad english. I mean the private information is showed for him only, the other members can not see it.
the condition you give is for every member... it can not be used in this case. No members have liked this post.
|
#33
|
||||
|
||||
Originally Posted by huuquynh
this the one you're looking for huuquynh, replace the user id![]()
No members have liked this post.
|
#34
|
|||
|
|||
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. No members have liked this post.
Last edited by huuquynh; 01 Feb 2010 at 09:29. |
#35
|
|||
|
|||
Thanks
![]() No members have liked this post.
|
#36
|
||||||||
|
||||||||
Thank you for the article.
Please guide me in converting this to vb4:
and this one too please:
No members have liked this post.
|
#37
|
||||||||
|
||||||||
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 No members have liked this post.
|
#38
|
||||||||
|
||||||||
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. No members have liked this post.
|
#39
|
||||
|
||||
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. =\ No members have liked this post.
|
#40
|
||||
|
||||
Originally Posted by isurua
![]()
Originally Posted by from first post
that
No members have liked this post.
|
#41
|
||||
|
||||
this is not work too with me
![]()
anyone can advice ?? No members have liked this post.
|
#42
|
|||
|
|||
Yes well aren't I the ignorant one? Hahah
Do you know if there is any work around? No members have liked this post.
|
#43
|
|||
|
|||
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...? No members have liked this post.
Last edited by btotw; 06 Feb 2010 at 22:11. |
#44
|
|||
|
|||
What would the code be to only show on forumhome?
No members have liked this post.
|
#45
|
||||
|
||||
Originally Posted by egyptsons
not work for me
![]()
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 13:23.