![]() |
|
#1
|
||||
|
||||
|
Hello Everyone,
Using this sidebar seems easy enough to do, but I have a question. I saw a site not to long ago, (sorry, cant remember the name or link) that had the sidebar, and a link in the navbar that could be used to enable and disable the sidebar, while in forums. I dont know if it was this sidebar hack or the one on vbulletin.org but... Brian? Is that possible with the version on this site? |
|
#3
|
||||
|
||||
|
I've seen that portal before and it looks alright, but No, this is not what I ment
I saw a site running vbulletin and vbadvanced. While in the forums, it had a sidebar, but there was a link in the navbar that you could click on that would make the sidebar disappear. if you clicked it again, the sidebar would come back. Thanks anyway Tom
|
|
#4
|
||||
|
||||
|
anybody???
|
|
#5
|
|||
|
|||
|
Dou you mean this one ?
http://www.vbadvanced.com/forum/show...ghlight=module Follow the links and then go to the Demo take a look at the left side . |
|
#6
|
|||
|
|||
|
Demo here http://www.mobileforces.org/
Clich the "-" mark of all the module you will see how it works . have funs! |
|
#7
|
||||
|
||||
|
Thank you ttnb,
This is not what I'm looking for, but, thank you for the effort. what I am looking for will take the sidebar that is in the forum itself and make it disappear. Like I said though, I'm not sure which sidebar hack the person was using. Man, I wish I knew which freaking site, I saw it on
|
|
#8
|
|||
|
|||
|
I thinks you should go to the vbulletintemplates.com and vbulletin.org to and do a search or request for help!
Good luck! |
|
#9
|
|||
|
|||
|
How long ago did you visit the site? The link may still be in your history file depending on which browser you use.
|
|
#10
|
||||
|
||||
|
It was awhile ago
and not in my history anymore (Anyway, Brian, do you have any ideas? |
|
#11
|
||||
|
||||
|
The only way I can think of to do it would be to create a separate file that you could create a link to, use that file to set a cookie for the user, then add something in the files to disable the modules if they have that setting in their cookie.
|
|
#12
|
||||
|
||||
|
That makes sense Brian, but, if you do that, it would probably affect the modules on the cmps homepage, wouldn't it?
It's funny because I was thinking it may be something you can set up in a custom user profilefield to make it visable or not, but again, I think that would affect the cmps as well, and I dont want that. this is frustrating, thats for sure. |
|
#13
|
||||
|
||||
|
If you just put something like if ($pages['name'] == 'forum_include_page') then that would keep it from affecting other pages.
|
|
#14
|
||||
|
||||
|
Brian,
I was hoping I could get this to work, but... so far I am unsucessful knowing all I have to do is change this PHP Code:
PHP Code:
PHP Code:
Could you give me an idea what I may be doing wrong Any help would be greatly appriciated |
|
#15
|
||||
|
||||
|
if ($bbuserinfo['field5'] == 'On')
Try that instead. |
|
#16
|
||||
|
||||
|
That worked perfectly, thank you Brian
Now, for the part, I am really lost on Would it be possible to put this usercp\options dropdown on the navbar or in the footer, kinda like the style chooser. Because the chooser is out there, I have to assume it is possible. I'll work on it tonight, but ideas would be greatly appriciated. Thank again for the help you've given me
|
|
#17
|
||||
|
||||
|
Hmmm... I'm not sure if there would be a good way to do that other than writing a separate script that would update that field.
|
|
#18
|
||||
|
||||
|
Thats what I thought
![]() I'll look into it and see what I can come up with then ask your opinion, once I have something. Thanks agian for the help
|
|
#19
|
||||
|
||||
|
Hi Brian,
I got a hold of someone over at vbulletin.org to help me out He had me remove what I did above, because we wanted to do guests as well. OK.. So, I went back to your original code PHP Code:
PHP Code:
he had me modify the adv_portal template to this PHP Code:
PHP Code:
http://www.tech-unity.com/forums/boards.php? But, If you turn off the sidebar it goes away..... Now refresh the screen. You see it comes back. He said that this is a cookie setting in vbadvanced. Do you have an idea as to why? or what the cookie setting is and where to change it? Thank you very much for any help with this |
|
#20
|
||||
|
||||
|
P.S. I'm thinking this might be something you could add to the global.php file
maybe under the // read the list of collapsed menus from the 'vbulletin_collapse' cookie section Thoughts? |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sidebar(s) in forums? | maximux1 | Troubleshooting / "How do I..." Questions | 89 | 06-14-2006 10:55 AM |
| Sidebar hack....please help | Takamine334 | Troubleshooting / "How do I..." Questions | 9 | 02-27-2005 02:14 PM |
| Different sidebar per forum? | RetroDreams | Troubleshooting / "How do I..." Questions | 17 | 02-23-2005 10:38 AM |
| Weird board issue..only hack I have is the portal hack..help? | Volconvo | Troubleshooting / "How do I..." Questions | 1 | 12-20-2004 10:28 AM |
| Sidebar on forum. Problems with same dir? | rbl | Bugs & Other Issues | 11 | 12-14-2004 03:33 PM |