vBulletin Modifications

Miscellaneous Hacks - Add New Page To Forums

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > Forum Archives > vBulletin 3.0 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Supported
[vB 3.0.7] Miscellaneous Hacks - Add New Page To Forums (180)
Released: 05-13-2005, 05:50 AM
Modification Information:
Ken Iovino's Avatar Author: Ken Iovino
Last Online: 06-28-2008
Demo: View Online Demo!
Hack Version: 1.0 Installer Included: 0 Additional queries added to database: 0
New Templates: 1 Template Edits: 0 File Edits: 0
New Files: 1 New Phrases: 0 Installation Time (In Minutes): 2

Add New Page To Forums


What this does
This will let you add a new page to your forums. This is usefull for site rules, advertising, ect...

Instructions
1. Download newpage.php and open it in a text editor.

2. Add a new template and name it whatever you want (remember what you named it). Add this for your templates HTML.
You must first be a registered member to view any code.
3. In newpage.php find.
You must first be a registered member to view any code.
Replace "New vBulletin Page" with w/e you want to show up on your navbar.

4. Find
You must first be a registered member to view any code.
Replace "xxxxx" with your new templates name.

5. Find
You must first be a registered member to view any code.
Rename newpage to your pages name. Example: rules.php.

All done!

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Please post bugs and errors here. Hope you like, feedback welcomed.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 05-29-2005, 07:25 AM   #2
Junior Member
Join Date: May 2005
mzhou88 is on a distinguished road

Default

just a lil comment... in the newpage.php file, if you want a variable for the navbar title and the template name, you can create 2 new vars and use the $_GET['var1'], $_GET['var2'] and then use the newly created variable in them... like:


$variablething = $_GET['var1'];
$variablethink = $_GET['var2'];

fetch_template('xxxxx')
into
fetch_template($variablething)

$navbits[''] = 'New vBulletin Page';
into
$navbits[''] = $variablethink

while the url is newpage.php?var1=templatename&var2=navbartitle




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2005, 02:15 AM   #3
Advanced Coder
Niels's Avatar
Join Date: Jun 2004
Real Name: Niels
Location: NL
Niels is on a distinguished road

Default

Nice hack Livewire I'm using it,
but I have some problems with it. I use this code:
You must first be a registered member to view any code.
To check in global.php if a user is logged in. It works fine, I can login and it doesn't ask anymore. But when I click on a url to the newpage it pop's up the login box again :S I want it to keep the user logged in. Is this possible?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2005, 01:10 PM   #4
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Is the new page (the .php file) in the same directory as global.php?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2005, 02:10 PM   #5
Butcher
Administrator
Butcher's Avatar
Join Date: Oct 2004
Real Name: Dava
Location: lake district, england
Butcher is on a distinguished road

Default

wow looks neat this one thnx alot
hope all goes well on install
__________________
Butcher / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers

chAos styles




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2005, 04:08 PM   #6
Advanced Coder
Niels's Avatar
Join Date: Jun 2004
Real Name: Niels
Location: NL
Niels is on a distinguished road

Default

Quote:
Originally Posted by Deaths
Is the new page (the .php file) in the same directory as global.php?
Yes,
I found the problem but don't know how to solve.
My board is in a frameset because of some service for the domain. In this frameset the login info doesn't arrive @ a new page. Except for real vb pages. Even if I pass s=session****here.
It has to do something with the frameset but how to fix it :confused:




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-13-2005, 07:23 PM   #7
Charter Member
tomshawk's Avatar
Join Date: Jul 2004
tomshawk is on a distinguished road

Default

Hi Livewire, question

This looks alot like the simplepage hack over at vbulletintemplates

but the inner workings of the file itself is a little different.

Anyway, I am using the simplae page version on my site, but for some reason within the page the vbulletin menusystem does not work

Notice here, and the dropdown menus dont work
http://www.tech-unity.com/pages.php?...us_Information

Does your version have the same problem?

Basically do you have a demo :p




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-19-2005, 01:41 PM   #8
Junior Member
Join Date: May 2005
DJ Lovers LMP is on a distinguished road

Default

ok, my page is there, but i dont see any link to ma new page ANY HELP??




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-19-2005, 01:58 PM   #9
vBulletin Guru
Ken Iovino's Avatar
Join Date: Mar 2004
Real Name: Ken Iovino
Location: Miami, Florida
Ken Iovino is on a distinguished road

Default

You have to add the link yourself man, I can't do it all for you :p just do something like <a href="yourlink.php">My Link</a>




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-03-2005, 04:36 PM   #10
Junior Member
Join Date: Sep 2004
italks is on a distinguished road

Default

Clicked install very nice hack thanks.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How To] Add Options per forum Ken Iovino vBulletin Modification Tutorials 10 03-03-2007 03:25 PM
How to add images on top of category forums? figure004 General vBulletin Support 1 05-28-2005 04:04 AM
How to add selection 2 language in register page ??? hoaidung General vBulletin Support 0 07-09-2004 08:51 PM


All times are GMT -3. The time now is 04:46 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)