The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
This hack lets users select the forums that they want to read.Please feel free to use this hack,and help me find some unknown bugs.Thanks!
http://home.keyciti.com/Godfather/myfavorite.zip Show Your Support
|
Comments |
#22
|
|||
|
|||
If you are interested, we are up with this functionality as well.
|
#23
|
|||
|
|||
I like the "My BigSoccer" idea as part of the top part of the page!
I wonder if "View All Boards" is the best wording for your other link, though; wouldn't setting My BigSoccer cause only the user's favorite boards to be displayed when he or she clicks on View All Boards? I sorta expected View All Boards to override the user-specified favorites when I clicked on it (or does it, and I just didn't realize that -- I didn't register). [Edited by Dave Baker on 07-20-2000 at 12:03 AM] |
#24
|
|||
|
|||
View all boards does override. look carefully...index.php vs. myindex.php
|
#25
|
|||
|
|||
Kewl! Tell me more! (How to get favorite.php settings to work for myindex.php but not index.php)
|
#26
|
|||
|
|||
Huss:
Could you document what you did on your board? I have finally got the thing running without a parsing error but when I select the forums I want to see and then return to the main page it pulls up the main page as usual. I go back to the favorite page and all the ones that I have checked off are still checked off but nothing happens to the index.php file that I see so I still see all the topic areas. Any ideas? I have followed the code as written. Parker |
#27
|
|||
|
|||
Hmm. We just followed the instructins and had no problem.
|
#28
|
|||
|
|||
Now I see -- don't make any changes to index.php, but instead make the changes (described by Godfather) to a copy of that file called myindex.php
Then in myindex.php change this line eval("echo dovars(\"".gettemplate("forumhome")."\");"); to read eval("echo dovars(\"".gettemplate("forumhome_favorites")."\") ;"); Create a new template called forumhome_favorites, which is a copy of forumhome except that the links under the main graphic are different. In my forumhome template (used for the "View All Boards" view, which the user gets by connecting to index.php), the links are coded like this: <smallfont>Now Viewing All Boards | <a href="myindex.php3">My BenefitsBoards</a></smallfont> But in my forumhome_favorites template (used for the "My BenefitsBoards" view, which the user gets by connecting to myindex.php), the links are coded like this: <smallfont><a href="index.php3">View All Boards</a> | Now Viewing My BenefitsBoards | <a href="favorite.php3">Change My BenefitsBoards</a></smallfont> Demo at http://BenefitsBoards.net |
#29
|
|||
|
|||
Dave:
Ok, I have followed the instructions with no problems. I even used the myindex.php layout as you described and it all works great except nothing gets saved. I go to myindex.php and all the forum topics are listed. I go back to the favorite.php page and the topics that I selected are still checked but nothing is getting transferred over to the new myindex.php page. Any ideas? Parker |
#30
|
|||
|
|||
You're sure the changes described by Godfather have been made to the myindex.php file?
In the myindex.php file, you've changed eval("echo dovars(\"".gettemplate("forumhome")."\");"); to read eval("echo dovars(\"".gettemplate("forumhome_favorites")."\") ;"); ? |
#31
|
|||
|
|||
Dave:
It boiled down to removing some spaces that I had in the code for index.php. It is working now. The only problem that I have with myindex.php is that after someone posts something and they want to return to their favorites they can't just click on any of the hyperlinks back to the main page because it will take them back to index.php instead of myindex.php. That would require that you have separate forumdisplay.php and showthread.php files and would get rather hectic in setting it up. At any rate it is working fine now. Thanks for all the help. Parker |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|