View Full Version : How To Hide Avatar And Signature In Specific Forum
creative-friend
01-27-2011, 05:58 PM
Hello
I Just Wanted to know if there is any way to Hide Avatar And Signature In Specific Forum i did that in VB3.....and tried the same coding in VB4 but its not working
Can anyone help with this please???
Thank u.
borbole
01-28-2011, 12:05 PM
Hello
I Just Wanted to know if there is any way to Hide Avatar And Signature In Specific Forum i did that in VB3.....and tried the same coding in VB4 but its not working
Can anyone help with this please???
Thank u.
Do you want to hide it from guests or from different groups?
If the first have a look at my mod:
https://vborg.vbsupport.ru/showthread.php?t=250094
It can also be tweaked to hide it from other groups too.
Lynne
01-28-2011, 03:22 PM
Don't edit the template, just write a plugin like:
if ($this->thread['forumid'] == x)
{
$show['avatar'] = false;
$post['signature'] = '';
}
creative-friend
01-28-2011, 08:57 PM
Do you want to hide it from guests or from different groups?
If the first have a look at my mod:
https://vborg.vbsupport.ru/showthread.php?t=250094
It can also be tweaked to hide it from other groups too.
I Wana Hide Avatar And Signature In My Religion Section From Everyone.....
Don't edit the template, just write a plugin like:
if ($this->thread['forumid'] == x)
{
$show['avatar'] = false;
$post['signature'] = '';
}
What do you mean??
Can you please explain abit...
Lynne
01-28-2011, 11:52 PM
What do you mean??
Can you please explain abit...
Adding or Editing a Plugin (http://www.vbulletin.com/docs/html/add_plugin)
borbole
01-29-2011, 02:49 PM
I Wana Hide Avatar And Signature In My Religion Section From Everyone.....
If you want to do that with my mod, change this code at the mod file
if (!$vbulletin->userinfo['userid'] && $forum['guests_avatars'])
to this:
if ($forum['guests_avatars'])
Or you can create a new mod by following Lynne's advice above.
creative-friend
01-30-2011, 09:46 PM
Adding or Editing a Plugin (http://www.vbulletin.com/docs/html/add_plugin)
Okay when doing this what do i have to select on Hook Location??
If you want to do that with my mod, change this code at the mod file
if (!$vbulletin->userinfo['userid'] && $forum['guests_avatars'])
to this:
if ($forum['guests_avatars'])
Or you can create a new mod by following Lynne's advice above.
Bro what will that do??i have changed the code like you said but i cant see anything happening??
Lynne
01-30-2011, 10:45 PM
Okay when doing this what do i have to select on Hook Location??
Tyr a postbit one like postbit_display_complete.
creative-friend
02-01-2011, 01:33 PM
Tyr a postbit one like postbit_display_complete.
Okay Thats Done
So Do I Have To change anything here
I Mean forum Id or something.....where i dont want to show avatar and signature??
if ($this->thread['forumid'] == x)
{
$show['avatar'] = false;
$post['signature'] = '';
}
--------------- Added 1296575332 at 1296575332 ---------------
Great All Done.....
I changed the X to forum Id and it worked fine
Thanks Alot Lynne
Thank u very much.
--------------- Added 1296575562 at 1296575562 ---------------
One more thing
what do i have to do for the sub forums??
Boofo
02-01-2011, 02:56 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=246993" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=246993</a>
creative-friend
02-02-2011, 07:51 PM
https://vborg.vbsupport.ru/showthread.php?t=246993
Thanks Alot Brother....
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.