Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » Forum Archives » vBulletin 3.0 Hack Releases » Miscellaneous Hacks - Add New Page To Forums
Reply
Page 1 of 3 1 23 >

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Supported
[vB 3.0.7] Miscellaneous Hacks - Add New Page To Forums (219)
Released: 05-13-2005, 08:50 AM
Modification Information: Version: 1.0
Ken Iovino's Avatar Author: Ken Iovino
Last Online: 06-09-2009
Demo: View Online Demo!
Installer Included: 0 Additional queries added to database: 0 Template Edits: 0
File Edits: 0 New Files: 1 New Phrases: 0

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.
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - Advertise On vBhackers.com!</title>
$headinclude
</head>

$header
$navbar

<!-- Your HTML code here-->

<!-- /Your HTML code here-->

$footer
</body>
</html>
3. In newpage.php find.
Code:
        $navbits[''] = 'New vBulletin Page';
Replace "New vBulletin Page" with w/e you want to show up on your navbar.

4. Find
Code:
        eval('print_output("' . fetch_template('xxxxx') . '");');
Replace "xxxxx" with your new templates name.

5. Find
Code:
define('THIS_SCRIPT', 'newpage');
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.





Old 05-29-2005, 10:25 AM   #2
mzhou88
vB Newbie

Activity Longevity
0/20 17/20
Today Posts
0/3 ssssssss3
mzhou88 is on a distinguished road
Status: Offline 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
Reply With Quote Installed
Old 06-13-2005, 05:15 AM   #3
Niels
Advanced Coder

Niels's Avatar

Activity Longevity
0/20 20/20
Today Posts
0/3 ssssss934
Location: NL
Age: 21
Niels is on a distinguished road
Status: Offline Default
Nice hack Livewire I'm using it,
but I have some problems with it. I use this code:
PHP Code:
if($_SERVER[PHP_SELF] != "/identity/team/login.php"){
if (!
$bbuserinfo['userid'] OR !($permissions['forumpermissions'] & CANVIEW)) 
{
//login form here
exit;
} 
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?
Reply With Quote Installed
Old 06-13-2005, 04:10 PM   #4
Arnoud
vBulletin Guru

Arnoud's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 sssss3129
Location: Europe, Flanders
Arnoud is on a distinguished road
Send a message via MSN to Arnoud Send a message via Yahoo to Arnoud
Status: Offline Default
Is the new page (the .php file) in the same directory as global.php?
Reply With Quote
Old 06-13-2005, 05:10 PM   #5
Butcher
Advanced Coder

Butcher's Avatar

Activity Longevity
1/20 19/20
Today Posts
0/3 sssss1070
Location: lake district, england
Age: 30
Butcher is on a distinguished road
Status: Offline Default
wow looks neat this one thnx alot
hope all goes well on install
Reply With Quote Installed
Old 06-13-2005, 07:08 PM   #6
Niels
Advanced Coder

Niels's Avatar

Activity Longevity
0/20 20/20
Today Posts
0/3 ssssss934
Location: NL
Age: 21
Niels is on a distinguished road
Status: Offline 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
Reply With Quote Installed
Old 06-13-2005, 10:23 PM   #7
tomshawk
Charter Member

tomshawk's Avatar

Activity Longevity
0/20 19/20
Today Posts
0/3 sssssss18
Age: 40
tomshawk is on a distinguished road
Status: Offline 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
Reply With Quote Installed
Old 06-19-2005, 04:41 PM   #8
DJ Lovers LMP
vB Newbie

Activity Longevity
0/20 17/20
Today Posts
0/3 ssssssss8
DJ Lovers LMP is on a distinguished road
Status: Offline Default
ok, my page is there, but i dont see any link to ma new page :( ANY HELP??
Reply With Quote Installed
Old 06-19-2005, 04:58 PM   #9
Ken Iovino
vBulletin Guru

Ken Iovino's Avatar

Activity Longevity
0/20 20/20
Today Posts
0/3 sssss2695
Location: Miami, Florida
Age: 27
Ken Iovino is on a distinguished road
Status: Offline 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>
Reply With Quote
Old 09-03-2005, 07:36 PM   #10
italks
vB Newbie

Activity Longevity
0/20 19/20
Today Posts
0/3 ssssssss6
italks is on a distinguished road
Status: Offline Default
Clicked install very nice hack thanks.
Reply With Quote Installed

Reply
Page 1 of 3 1 23 >

« Repec's NFO addon for PaxTrax Lockdown | Users online the last 24 hours »

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

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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 Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exclude forums on Forum index page? Razasharp vBulletin Modification Requests 1 08-21-2007 09:32 PM
[How To] Add Options per forum Ken Iovino vBulletin Modification Tutorials 10 03-03-2007 06:25 PM



All times are GMT. The time now is 05:25 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!