Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-02-2001 Last Update: Never Installs: 0
 
No support by the author.

While waiting for 2.0, I've started hacking PHPNuke to integrate with vBulletin. You can look at it at http://www.911pc.com It is very raw and nothing is guaranteed to work. I don't even know PHP, this is just a project to try to learn it a little.

[Edited by wajones on 01-20-2001 at 09:27 AM]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-02-2001, 11:42 AM
Guest
 
Posts: n/a
Default

!!!!!!!!!!!!

How'd you get the vB login boxes on the front page??
Reply With Quote
  #3  
Old 01-02-2001, 11:46 AM
Guest
 
Posts: n/a
Default

and the online users bit?
Reply With Quote
  #4  
Old 01-02-2001, 11:49 AM
Guest
 
Posts: n/a
Default

The active users thing was posted before by Eva2k or TT

Code:
<?
require("admin/config.php");

$db=mysql_connect($servername,$dbusername,$dbpassword);
mysql_select_db($dbname);

$action = mysql_query("SELECT s.userid, u.username FROM session s, user u WHERE u.userid=s.userid");

while (list($userid, $username) = mysql_fetch_row($action)) {
echo "<a href=\"member.php?getinfo&userid=$userid\">$username</a>";

}

?>
Reply With Quote
  #5  
Old 01-02-2001, 12:16 PM
Guest
 
Posts: n/a
Default

Oh wait vBoard!

That code up there is only for showing logged in users.. not the total members & guests viewing.

Can you give us that code too wajones?
Reply With Quote
  #6  
Old 01-02-2001, 12:51 PM
Guest
 
Posts: n/a
Default

thanks in advance wajones
Reply With Quote
  #7  
Old 01-02-2001, 01:18 PM
Guest
 
Posts: n/a
Default

Basically I just started with the vB index.php and stripped out the show forum stuff and added the PHPNuke stuff, copied the login and activeuser templates, rearraged and renamed them, then called them by their new names from the new index page. It's all pretty sloppy right now, but thats all I basically did. Keep it in the same directory as your real vB index that you rename something like forum.php ...

Like I said I really don't know what I'm doing, but I'll be happy to share my misfortunes as I go. Even though the hackers here will probably laugh now and then!!!!

I'm just practicing trial and error until it works, I may buy a book some day????

The hard part is stripping out all the PHPNuke user stuff and putting in vB stuff, Nuke isn't put together very consistantly, every file seems to be different to some degree. It's basically a bunch of hacks by other people put together.

Of course it's easy to critique someone elses work, but I could never do it from scratch!!
Reply With Quote
  #8  
Old 01-02-2001, 01:58 PM
Guest
 
Posts: n/a
Default

I will try to see if I can do something like this.

If you rename the board's index.php doesn't that affect anything?
Reply With Quote
  #9  
Old 01-02-2001, 02:08 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by vBoard.co.uk
I will try to see if I can do something like this.

If you rename the board's index.php doesn't that affect anything?
Yes, you will have to either keep all the index calls such as the signup, login, showsmilies etc. in the new index or rename every call to index.php thru out vb to call the new forum.php.

It's easier to leave everything you can in the new index.php... and just replace the " if ($action=="showforums")" stuff with you own code and make new templates. Then when ever vB makes a call to index.php it's there for it.



[Edited by wajones on 01-02-2001 at 11:25 AM]
Reply With Quote
  #10  
Old 01-02-2001, 02:21 PM
Guest
 
Posts: n/a
Default

okay thanks
I will see where I get to.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 10:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04717 seconds
  • Memory Usage 2,263KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete