Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Link to subscriptions page if user can not post attachments or new post Details »
Link to subscriptions page if user can not post attachments or new post
Mod Version: 1.00, by GilbertZ (Member) GilbertZ is offline
Developer Last Online: Jul 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 6
Released: 04 Nov 2004 Last Update: Never Downloads: 0
Not Supported  

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Open newthread.php

Go to line 259 and look for:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

replace with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Go to your AdminCP and create a new template called:
newpost_no_attachment

and put the following text in it:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This hack is running at http://www.simstalk.com . If you want to check it out, please make sure not to actually post anything as it is a live board.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	vbhack1.png
Views:	128
Size:	11.5 KB
ID:	21585  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
First Post on every page per-forum with attachments Delphy vBulletin 3.0 Full Releases 4 30 Aug 2005 21:54

Comments
  #2  
Old 04 Nov 2004, 22:41
GilbertZ GilbertZ is offline
 
Join Date: Nov 2004
While you're at it

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]

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #3  
Old 04 Nov 2004, 22:44
manguish manguish is offline
 
Join Date: Apr 2003
Excellent - works great.

Thanks bud.
Reply With Quote
  #4  
Old 04 Nov 2004, 23:08
nexialys
Guest
 
this is one of the best solution ever for subscriptions.. this will bring more people to subscribe, as they will understand the reason why...
Reply With Quote
  #5  
Old 05 Nov 2004, 01:15
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Real name: Colin
fantastic!
__________________
-alkatraz
Northwest Nissans Classifeds
Reply With Quote
  #6  
Old 05 Nov 2004, 20:16
Hades-1 Hades-1 is offline
 
Join Date: May 2004
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" ?
Reply With Quote
  #7  
Old 05 Nov 2004, 20:41
GilbertZ GilbertZ is offline
 
Join Date: Nov 2004
Originally Posted by Hades-1
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" ?
I haven't tested that, but basically if it triggers the forumpermissions which states that the user does not have permission to upload an attachment, then it'll pop up that message. Here is the eval statement:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If the above fails, then you get the upgrade message.
Reply With Quote
  #8  
Old 25 Nov 2004, 23:16
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Real name: Colin
awesome hack! thanks

What about over quota?
I'm wondering this too, is it working for you?
__________________
-alkatraz
Northwest Nissans Classifeds
Reply With Quote
  #9  
Old 20 Jun 2007, 10:14
BarryoBrien BarryoBrien is offline
 
Join Date: Jan 2007
will this work with vb 3.6.4?
__________________
Graphic Blog - My Network
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

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

Layout Options | Width: Wide Color: