Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
Subscribe / unsubscribe to forums on forumhome Details »»
Subscribe / unsubscribe to forums on forumhome
Version: 1.00, by Odysseus Odysseus is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-22-2003 Last Update: Never Installs: 4
 
No support by the author.

My second hack dealing with subscriptions.

What does it do?
This hack will add one litte quick-link for each forum shown on the main index. By clicking this link, the user adds this forum to his subscriptions.
It the user already has a subscritions for this forum, the text will change to "unsubscribe" and a click will - guess what - unsubscribe the user from this forum. :-)

Other than the hack which adds tree little images next to each forum description, this hack enables the user to actuelly unsubscribe from forms directly on the index page, which is not possible with the "three little images" hack.

THIS HACK WILL ADD EXACTLY ONE QUERY TO THE FORUMHOME-PAGE (index.php)



FILES TO EDIT: 1 (4 changes total)
TEMPLATES TO EDIT: 1 (1 change total)
TEMPLATES TO ADD: 2
TIME NEEDED: ~5 Minutes


Credit goes to BOOFO who originally had this hack idea.

Show Your Support

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

Comments
  #2  
Old 05-23-2003, 11:44 AM
Odysseus's Avatar
Odysseus Odysseus is offline
 
Join Date: Oct 2002
Location: Regensburg, Germany
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot:
Reply With Quote
  #3  
Old 05-23-2003, 12:20 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, sir.
Reply With Quote
  #4  
Old 06-30-2003, 03:10 AM
Lethal Lethal is offline
 
Join Date: Feb 2002
Location: PA/USA
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed that if I would click subscribe on forumhome and then go to that forum, the "Subscribe to this forum" Link is still there under "Mark this forum read". This should change to Unsubscribe also. How would you make this work for forumdisplay too? If you click subscribe on forumhome, shouldn't it change the link in forumdisplay.php also and vice versa.
Reply With Quote
  #5  
Old 06-30-2003, 04:15 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure if the 2 are compatible, but here ya go:
https://vborg.vbsupport.ru/showthrea...subscribe+link
Reply With Quote
  #6  
Old 07-03-2003, 01:14 PM
Odysseus's Avatar
Odysseus Odysseus is offline
 
Join Date: Oct 2002
Location: Regensburg, Germany
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
06-30-03 at 06:10 AM Lethal said this in Post #4

If you click subscribe on forumhome, shouldn't it change the link in forumdisplay.php also and vice versa. [/B]
This is done wrong (ok, not really wrong - it's simply missing) on forumdisplay.php ... I think the hack that smoothie linked can solve this.
Reply With Quote
Reply

Thread Tools

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 02:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07428 seconds
  • Memory Usage 2,241KB
  • Queries Executed 19 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete