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
  #12  
Old 07-18-2000, 04:34 AM
Guest
 
Posts: n/a
Default

Thanks for the help.

Parker
Reply With Quote
  #13  
Old 07-18-2000, 03:08 PM
Guest
 
Posts: n/a
Default

Very clever stuff - how did you come up with such a good idea?

Just a thought
Reply With Quote
  #14  
Old 07-18-2000, 03:13 PM
Guest
 
Posts: n/a
Default

LOL - a little birdie gave him the idea
Reply With Quote
  #15  
Old 07-18-2000, 03:18 PM
Guest
 
Posts: n/a
Default

Really? Who was that? Ho hum.

Just a thought
Reply With Quote
  #16  
Old 07-18-2000, 03:51 PM
Guest
 
Posts: n/a
Default

So Ed when are you going to do this favorite forums hack? I like what is there but it needs more functionality like being able to go back to the setup page and see those areas that you already have checked and either add to or delete them.

See if you can give it the ol' Ed Sullivan touch.

Parker
Reply With Quote
  #17  
Old 07-18-2000, 04:32 PM
Guest
 
Posts: n/a
Default

cal - didn't you know there's a recently discovered bird called the "Red-Breasted cal". I hear that's what told him

Parker - I dunno IF I'll even do it. I'm working on an attachment hack now and making my article script release quality.
Reply With Quote
  #18  
Old 07-18-2000, 04:37 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Ed Sullivan
cal - didn't you know there's a recently discovered bird called the "Red-Breasted cal". I hear that's what told him
You two
Reply With Quote
  #19  
Old 07-18-2000, 06:35 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Parker Clack
So Ed when are you going to do this favorite forums hack? I like what is there but it needs more functionality like being able to go back to the setup page and see those areas that you already have checked and either add to or delete them.

See if you can give it the ol' Ed Sullivan touch.

Parker
When I looked at the demo Dave had up, it remembered what I had checked when I went back to favorites and I could select more or unselect what I had already. I registered on his board to test it out and it seems to do what it is supposed to.
Reply With Quote
  #20  
Old 07-19-2000, 09:47 AM
Guest
 
Posts: n/a
Default

Dave:

I am not sure what he means in Step 6.

Quote:
// Step 6.
// find another line to complete "if" syntax between following two line

} // if can view
} // while forums

// insert

} // if favorite
I am not sure what to put where in this statement. I am getting a parsing error at line 237 which is the line that } // if can view starts. I tried putting a } between
the if can view and while forums lines but still get the parsing error.

How did you get this to work on your board?

Parker

[Edited by Parker Clack on 07-19-2000 at 06:49 AM]
Reply With Quote
  #21  
Old 07-19-2000, 12:46 PM
Guest
 
Posts: n/a
Default

The instructions aren't as clear as they could be. You put the "} // if favorites" in the right place. Did you put the "if ($favoriteonly == 0 ..." stuff in the right place? (Note the "ABOVE" instructions, in the snippet below.)

// #######################
// Step 5.
// Find in index.php
if ($getperms[canview]==1) {
// then add following codes ABOVE it (NOTE:ABOVE!!)

// ===Start of My favorite code===
if( $favoriteonly == 0 || ($favoriteonly==1 &&
$selarray[$forum[forumid]]=="T") ) {
// ===End of My favorite code===
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:36 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.04452 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
  • (3)bbcode_quote
  • (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
  • (3)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