vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   PHPNuke to vB Hack (https://vborg.vbsupport.ru/showthread.php?t=6218)

01-02-2001 02:24 PM

You will have to redo most of templates to call forum.php instead of the index.php if you do it this way??? As I said this is a learning experience.

01-02-2001 02:41 PM

Quote:

Originally posted by wajones
You will have to redo most of templates to call forum.php instead of the index.php if you do it this way??? As I said this is a learning experience.


Well I am creating a second index and not renaming the board index file as I think creating a second index is easyer then renaming the board one.

But I will rename it after I storred the second index.

I'll look at PHP Nuke and see what I can do with that.

You are trying to remove all registering and loggin on PHP Nuke right?
and then replacing it with vBulletin Loggin code and registering?

If so then PHP Nuke will have to be based on the same dir and database right?

01-02-2001 02:55 PM

Yes, I removed the Nuke user and Sessions tables from the database and then did a install of vB to the same database. Before I ran the Install Template script I did a replace on all instances of index.php with forum.php. Then put the Nuke files in with the vB files, everything is in the same directories for now so Nuke will use the vB cookies. I'll clean it up later.

BTW... Everyone is invited to chime in with suggestions, the blind is leading the blind here. ;)



[Edited by wajones on 01-02-2001 at 11:58 AM]

01-02-2001 03:00 PM

Quote:

Originally posted by wajones
Yes, I removed the Nuke user and Sessions tables from the database and then did a install of vB to the same database. Before I ran the Install Template script I did a replace on all instances of index.php with forum.php. Then put the Nuke files in with the vB files, everything is in the same directories for now so Nuke will use the vB cookies. I'll clean it up later.

BTW... Everyone is invited to chime in with suggestions, the blind is leading the blind here. ;)
[Edited by wajones on 01-02-2001 at 11:58 AM]

I will try to do this as well.
May take me a while.

How many PHP Nuke files did you edit?

01-02-2001 03:11 PM

[QUOTE]Originally posted by vBoard.co.uk
Quote:

[i]How many PHP Nuke files did you edit?
Almost everyone will have to be edited, most call the user table and or use cookies. Not a small job! Just deleted the Nuke user.php file, not needed any longer.

01-02-2001 04:00 PM

You said you ripped out if ($action=="showforums") {

How much of that did you rip out?
Can you post from "something" to "something"?
Should I also rip out the if call?: if ($action=="showforums") {

01-02-2001 07:55 PM

Between the if ($action=="showforums") {
and the close if bracket }. Replace with what ever code you want on your front page. You'll have to play with it to get it the way you want.

01-02-2001 08:16 PM

thanks :)

Suggestion:
When someone submits news it should make a new thread on the forum and when someone makes a comment it should make a reply to the existing thread.

01-02-2001 08:36 PM

I have to pass on this one.
Its too hard and I dont get it. :(

01-02-2001 08:36 PM

Quote:

Originally posted by vBoard.co.uk
thanks :)

Suggestion:
When someone submits news it should make a new thread on the forum and when someone makes a comment it should make a reply to the existing thread.

That would be cool, but I want to keep the News for News Articles and the forum for discussions and completely separate. The News that I post may well point to a thread, but I'll just use a html link as I need it. I'll be putting the forum threads (Last 10) in one of the side boxes. Otherwise you could use the Weblog code that can be found here on the vB board. Beside's I wouldn't have a clue how to do it. Another way is to use the code that eva2000 uses on his board to display the last 10 postings from the forum.


All times are GMT. The time now is 12:15 AM.

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.01034 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete