vBulletin Modifications

Custom page outside the forum directory

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 01-10-2007, 07:19 PM   #1
Junior Member
Join Date: Oct 2005
Kiphaas7 is on a distinguished road

Default Custom page outside the forum directory

Basically my idea is to run an index page outside the forum directory, because I want to keep the forum itself as stock as possible (for personal comfort), and because I want to have complete freedom in the way I present the data on the frontpage. I have quite some html/css knowledge, but no real php knowledge. I can read the php and roughly understand what it's about, but that's about it.

I offcourse read the following:
[How To] Run a vb page outside of the forum directory

Which gave me a good start. Currently my first try is to get some stats in plain text. I used vBA for that goal, and loaded stats.php from their modules folder into my php file made with the above link.

What I added to the example given above is:

You must first be a registered member to view any code.
Anyway, long story short, basically the output Im getting is the following:

You must first be a registered member to view any code.
Obviously members and Top Poster doesn't work. I sniffed around in the index.php from vbulletin self, and found out that # of threads and # of posts is taken from the forum cache and total members (and thus top poster) from template. (it should say 2 members and topposter:admin)

This is the part from index.php what I'm talking about.....
You must first be a registered member to view any code.
I think I even got a few errors when trying to show the topposter.

Anyways, any help would be greatly appreciated! Mainly concerning about how to show the topposter and total members in a page outside the forum dir.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
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
Zoints Local - Social networking, enhanced profiles, blogs, and more dchapman vBulletin 3.5 / 3.6 Hack Releases 23 08-29-2007 02:02 AM
Forum with Main Page or Just a Forum? chezzy62 Growing Your vB Forum 17 02-25-2007 12:36 AM
[How To] Run a vb page outside of the forum directory Junior vBulletin Modification Tutorials 7 01-10-2007 07:05 PM
Make forum acting as a catagory look like a forum! spadez General vBulletin Support 2 11-05-2006 09:30 AM
Zoints dchapman Commercial vBulletin Hacks 6 09-23-2006 04:02 AM


All times are GMT -3. The time now is 06:33 PM.


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