Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #1201  
Old 08 Dec 2009, 16:42
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Replace

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

with

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

--------------- Added 08 Dec 2009 at 16:42 ---------------

Or the other way 'round
Hi Lynne
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de

Last edited by cellarius; 08 Dec 2009 at 16:42. Reason: Auto-Merged DoublePost
Reply With Quote
  #1202  
Old 08 Dec 2009, 16:50
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by cellarius View Post
Or the other way 'round
Hi Lynne
Good morning dear!
__________________
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
  #1203  
Old 08 Dec 2009, 17:04
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
Originally Posted by Lynne View Post
Good morning dear!
Ah, the wonders of time shift - and a good evening to you
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #1204  
Old 10 Dec 2009, 15:27
Stryker412 Stryker412 is offline
 
Join Date: May 2005
I'm getting this error all the sudden for anyone not logged in:

Unable to add cookies, header already sent.
File: store.php
Line: 5



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

Reply With Quote
  #1205  
Old 10 Dec 2009, 15:52
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by Stryker412 View Post
I'm getting this error all the sudden for anyone not logged in:

Unable to add cookies, header already sent.
File: store.php
Line: 5
You need to start your html *after* the global.php file is included - you started it at the top of your page.
__________________
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
  #1206  
Old 10 Dec 2009, 15:57
Stryker412 Stryker412 is offline
 
Join Date: May 2005
OK great thanks Lynne. Odd that it worked fine for those of us who were logged in.
Reply With Quote
  #1207  
Old 12 Dec 2009, 22:57
Jeweetog Jeweetog is offline
 
Join Date: Sep 2009
Hi Lynne,

Thanks for the tut! I used it for the google search bar to show up the results in that customized page.

Works like a charm!

A small comment, i put that test.php file almost in every directory. I didn't know where to upload. Think you forgot to mention that
Reply With Quote
  #1208  
Old 12 Dec 2009, 23:26
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by Jeweetog View Post
Hi Lynne,

Thanks for the tut! I used it for the google search bar to show up the results in that customized page.

Works like a charm!

A small comment, i put that test.php file almost in every directory. I didn't know where to upload. Think you forgot to mention that
Glad this worked for you, but it's not my tutorial.

Nothing is mentioned regarding where to upload the test.php file because it can be put anywhere as long as you put the correct paths to the files you include in your page.
__________________
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
  #1209  
Old 13 Dec 2009, 03:06
amcd amcd is offline
 
Join Date: Oct 2004
Originally Posted by Lynne View Post
Glad this worked for you, but it's not my tutorial.

Nothing is mentioned regarding where to upload the test.php file because it can be put anywhere as long as you put the correct paths to the files you include in your page.
Quite right, but it is easiest if you put it in the main forum directory.
__________________
eXBii.com - Indian community
no XB no fun know XB know fun !
Reply With Quote
  #1210  
Old 24 Dec 2009, 15:31
Micaiah Micaiah is offline
 
Join Date: Sep 2009
i loved this soo much thank you
Reply With Quote
  #1211  
Old 20 Jan 2010, 02:49
foesracing foesracing is offline
 
Join Date: Jan 2010
Originally Posted by Gary King View Post
Want to create your very own vBulletin powered page which includes the header, footer, and the user permissions system as well?

Well now you can

Want to know how it will look? Take a look at the attached screenshot below!

Now includes the Who's Online modification!
Also, instructions included on how to create your own pages that are integrated with current vBulletin files!

I'm going to give you a generic page but you can easily modify the contents of the page by changing the template

So here we go

Instructions:

Create a new file, whatever you want to call it (let's say test.php).
Open up test.php and add the following (replace TEST with whatever template you want to show):
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Be sure to change 'TEST' to the actual template name, and change 'test' to the filename. Also, change 'Test Page' to whatever you want to show in the navbar, such as 'Viewing Member Profile' (just an example).

Now create the template, called TEST with the following content:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

All done
Now check it out by going to test.php

Who's Online Modification

Now if you want to show who is browsing this new page of yours, just open up includes/functions_online.php and find:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

(Be sure to change the values to your own!)

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

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

All done!

----------------------------------

Also if you want to create your own pages 'within' current vBulletin files, do the following:

Open the file you want, and then right before the final ?> in the source code, add the following:


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

Replace 'xxx' with whatever you want ?do= in the query string to be (for example, replace 'xxx' with 'showprofile' so then someone would type in example.php?do=showprofile to view this template.) Then of course, change TEMPLATE_XXX to your template name, it's that simple!


edit by Lynne: If running 3.8.4 or above, see this post to take care of the PHP 5.3.0-related problems - http://www.vbulletin.org/forum/showp...postcount=1171
How do you create a template in VB4?
Reply With Quote
  #1212  
Old 20 Jan 2010, 18:19
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by foesracing View Post
How do you create a template in VB4?
You could start by looking at this very same article in the vB 4 Arcticles section.
__________________
Reply With Quote
  #1213  
Old 23 Jan 2010, 14:36
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Hey.
I just added this, good work.

However, what PHP Code would I use to make the Who's Online appear on this custom page (but it only shows people on that page?)

Thanks for the hack, good work =]
__________________
vBulletin is down the drain. IB ruined it by attacking XenForo.
I am a MyBB and XF modder only.
Reply With Quote
  #1214  
Old 26 Jan 2010, 17:36
netshaq netshaq is offline
 
Join Date: Jan 2010
help ..

I am trying to add a custome page and I am getting this error

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_STRING in /data/10/0/120/59/772548/user/790634/htdocs/forum/test.php(42) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: TEST in [path]/includes/functions.php on line 3893

thanks
Steve
Reply With Quote
  #1215  
Old 26 Jan 2010, 17:40
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by netshaq View Post
I am trying to add a custome page and I am getting this error

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_STRING in /data/10/0/120/59/772548/user/790634/htdocs/forum/test.php(42) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: TEST in [path]/includes/functions.php on line 3893

thanks
Steve
This article is in the vB3 articles section. You are using vB4 and should not be using this article.
__________________
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
Reply



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

Layout Options | Width: Wide Color: