![]() |
Conditional Forum Subscription Links
My first public offering. :)
It's a small one, but one that I feel is pretty important as far as user-friendlieness goes. DESCRIPTION: Ever notice in forumdisplay.php that you will always see a link to "Subscribe to Forum", even if you are already subscribed? This small hack fixes this issue by helping to more easily identify which FORUMS you are already subscribed to. After installing this hack, you will see a link to "Unsubscribe From This Forum" in forumdisplay.php IF YOU ARE ALREADY SUBSCRIBED. Otherwise, you will see a link to "Subscribe to This Forum". Not to be confused with the Subscribe/Unsubscribe functionality of showthread.php, which works fine. :) Support will be offered *when possible* in THIS THREAD, but if you follow the simple installation, you shouldn't need any support anyways. :D NOTE: If your Subscribe to Forum link brings up the Subscribe to Thread page, and the redirect is acting funny, that is not related to this hack. It is a bug in vB3 and you need to upload an updated version of subscription.php that can be found on vbulletin.com (link below) http://www.vbulletin.com/forum/showt...245#post638245 |
Thanks, good hack *installs*.
|
hmm .. just tried this and it comes up with a mysql error saying the "subscribeforum" table doesn't exist ....
|
Quote:
in your admincp, run this SQL Query and see if it returns an error: SELECT * FROM subscribeforum If it still cant find the table, you probably have some kinda db corruption going on. You could log-in via phpMyAdmin and verify if the subscribeforum table actually exists. If not, then we can create it, but you may have other issues as well. |
heh .. sussed that .. I had to put "vb3_" in front of the table name ... :)
|
Quote:
Doh! I forgot " . TABLE_PREFIX . " Sorry! Attachment fixed. |
hmm .. another problem ..
It doesn't seem to want to subscribe to the forum .. (see image) .. I get to that page .. click on the link and it doesn't go to the "processing" page .. it just goes back to the page in the image .. and therefore doesn't register the forum as subscribed .. ?? |
Just tried it with the updated stuff .. still no joy .. see post above ..
|
Quote:
Ahhh! This is acutally a bug in vB3. They have posted a new subscription.php file over at vb.com. I had already fixed mine, and I totally forgot about it. ALso updated first post with a note about this. http://www.vbulletin.com/forum/showt...245#post638245 |
Ok .. tried the new subscription.php file ..
It's now showing the processing page .. but still isn't registering the forum as subscribed ... |
All times are GMT. The time now is 03:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|