![]() |
Link to subscriptions page if user can not post attachments or new post
Version: 1.0
vBulletin Version: 3.0.3 Developer: GilbertZ Hack-Language: English Install-difficulty: Low File-edits: 2 Template-edits: 1 Is this hack supported: Officially, no. But I will try to keep an eye out and help where I can. Description of the Hack: Do you charge a subscription for users to upload files? Instead of just not showing them the attachments options, how about letting them know why they can't post attachments and giving them a link to the subscriptions page? This does that. Files to edit: newreply.php newthread.php Open newreply.php Go to line 307 and look for: PHP Code:
PHP Code:
Go to line 259 and look for: PHP Code:
PHP Code:
newpost_no_attachment and put the following text in it: HTML Code:
<fieldset class="fieldset"> |
Another thing I added for when users try to post in forums where posting requires a subscription, is to make the following change in the phrase manager:
Change the text in $vbphrase[nopermission_loggedin] HTML Code:
<p> |
Excellent - works great.
Thanks bud. |
this is one of the best solution ever for subscriptions.. this will bring more people to subscribe, as they will understand the reason why...
|
fantastic!
|
What about over quota?
Lets say they can upload 3 files under normal membership, if a user is at max qutoa will it say "upgrade your membership" ? |
Quote:
PHP Code:
|
awesome hack! thanks
Quote:
|
will this work with vb 3.6.4?
|
All times are GMT. The time now is 06:31 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:
|