Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-10-2000 Last Update: Never Installs: 0
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-19-2000, 04:45 PM
Guest
 
Posts: n/a
Default

If you are interested, we are up with this functionality as well.
Reply With Quote
  #23  
Old 07-19-2000, 05:18 PM
Guest
 
Posts: n/a
Default

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]
Reply With Quote
  #24  
Old 07-19-2000, 06:06 PM
Guest
 
Posts: n/a
Default

View all boards does override. look carefully...index.php vs. myindex.php
Reply With Quote
  #25  
Old 07-19-2000, 06:39 PM
Guest
 
Posts: n/a
Default

Kewl! Tell me more! (How to get favorite.php settings to work for myindex.php but not index.php)
Reply With Quote
  #26  
Old 07-19-2000, 09:26 PM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #27  
Old 07-19-2000, 09:40 PM
Guest
 
Posts: n/a
Default

Hmm. We just followed the instructins and had no problem.
Reply With Quote
  #28  
Old 07-20-2000, 02:55 AM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #29  
Old 07-20-2000, 07:36 PM
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #30  
Old 07-20-2000, 07:53 PM
Guest
 
Posts: n/a
Default

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")."\") ;");

?
Reply With Quote
  #31  
Old 07-20-2000, 08:26 PM
Guest
 
Posts: n/a
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08965 seconds
  • Memory Usage 2,287KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete