Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 Aug 2016, 14:44
phalanxents phalanxents is offline
 
Join Date: Feb 2016
Real name: Leigh
User Login

I can't believe how hard it is to find what I'd like on Google.

VBulletin 4 - Custom Page Content, showable to members only.

Currently, I am using

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

But instead of that, I'd like it to show the no permission login box if a user is not logged in.


Also, for someone who knows nothing about coding, is there a way of adding my 2 custom pages to the usergroup permissions section so I can turn access on and off?
Reply With Quote
  #2  
Old 03 Aug 2016, 02:37
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You would need to do it in the php of the custom file. Something like (not tested!!!):


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

__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 03 Aug 2016, 08:47
phalanxents phalanxents is offline
 
Join Date: Feb 2016
Real name: Leigh
Thank you
So the user id would be 0 for not logged in? Or copied like that?
Reply With Quote
  #4  
Old 03 Aug 2016, 14:10
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Real name: Giovanni Martinez
Copied like that would work. ! in this case means if it's 0.
__________________

ModernvB.com - vBulletin Mods & Services - ModernvB.com vBulletin 3 Mods - ModernvB.com vBulletin 4 Mods - Hire ModernvB
Full-Time vB Development - If you can think it, we can build it.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


New To Site? Need Help?

All times are GMT. The time now is 17:46.

Layout Options | Width: Wide Color: