Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #21  
Old 01-29-2002, 11:05 AM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe easy?( u r talking to a newbie)

ok I did a cron and cronjob search on this forum and didnt found what I want.
can u please explain:

PHP Code:
<?php
//connect to database
mysql_connect("localhost""yourDB""yourPW"); // is this database username & pw or database name & pw?
mysql_select_db("your db");// here should go my database name right?
do I have to change anything below?
//empty pn userdb and fill it with fresh userdata
$query=mysql_query("delete from nuke_users");
$query=mysql_query("INSERT INTO nuke_users (uid,uname,email,url,user_sig,pass,user_icq) select userid,username,email,homepage,signature,password,icq from user");
$query=mysql_query("update nuke_users set umode='nested', theme='ExtraLite',timezone_offset='14.0'");

mysql_close();
?>
so I put this one in a php file and upload to http://www.mydomain.dk/portal/nuke/cron.php (right?)

Im very sorry Tom I know Im asking to many questions but u see Im a newbie and php is not me.

thanx in advance
dm
Reply With Quote
  #22  
Old 01-30-2002, 02:40 PM
fresh_froot fresh_froot is offline
 
Join Date: Jan 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Waka...I'm interested in a cron free solution Can't wait to take a go at this one!
Reply With Quote
  #23  
Old 01-30-2002, 09:36 PM
roscoluxxx roscoluxxx is offline
 
Join Date: Oct 2001
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fill the nuke_group_membership with what exactly?
Reply With Quote
  #24  
Old 01-31-2002, 03:59 AM
Dontom Dontom is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

setup postnuke as standalone - you will notice, that you are as admin in another group (dont know from memory - either 1 or 2) as the rest (normal user)
I filled this table with numbers according to this (userids from 0-10000 e.g and the correct setting (1,2, whatever). (did it in Excel ,exportet as csv and imported to pn - thats it!
Reply With Quote
  #25  
Old 01-31-2002, 09:59 PM
roscoluxxx roscoluxxx is offline
 
Join Date: Oct 2001
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome thanks...

Here's what put in, and it works just fine. Anyone know an easy way to input a large range (200 thru 10000)?

INSERT INTO nuke_group_membership VALUES (1, X);
X being the userid.
Reply With Quote
  #26  
Old 02-01-2002, 04:10 AM
Dontom Dontom is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by roscoluxxx
Awesome thanks...

Here's what put in, and it works just fine. Anyone know an easy way to input a large range (200 thru 10000)?

INSERT INTO nuke_group_membership VALUES (1, X);
X being the userid.
super easy with excel - use 2 columns - one filled with a 1, the other with numbers from1-10000, eport as csv, import using phpmyadmin...
Reply With Quote
  #27  
Old 02-01-2002, 12:52 PM
fresh_froot fresh_froot is offline
 
Join Date: Jan 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's exactly what I ended up doing Thanks!
Reply With Quote
  #28  
Old 02-01-2002, 12:58 PM
fresh_froot fresh_froot is offline
 
Join Date: Jan 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

freshfroot=roscoluxxx @WORK
Reply With Quote
  #29  
Old 04-18-2002, 10:57 PM
SAWolf76 SAWolf76 is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
change all urls in pn which have to do with registration to point to vb's reg-Page/usercp

Include vb's global.php and install Admin_online - people on your newssite will be shown as online reading news...
include Tubedoggs last x posts in your sideblock (works without changes in pn)
Well, I'm stuck here and would apresiate any help...... Can you explain these more?

For one where are all the links I need to change if possible?

where should I include vb's global.php? and what is Admin_online?

Thanks alot for a nice work which i've been looking around for... Hope you could help me with my questions..
Reply With Quote
  #30  
Old 04-19-2002, 04:56 AM
Dontom Dontom is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

look at your nuke - all links that lead to a user.php should point to your forums member.php?s=&action=editprofile - nukes registration link should point to vbs registration file...

Either change the links in Nuke or create the corresponding files redirecting to vb... (meta tag)

Admin online is a hack (can be found here @vb.org), to add other location to vb's who is online display..... - so people who are just browsing the news-area are displayed as "Reading News"

I included vbs global.php in the second line of pn's modules.php

hope this helps....


with postnuke combined with vb it is easy to install gallery.sourceforge.net, too.

look at this: http://www.mtb-news.de/modules.php?o...ude=albums.php
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04133 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (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
  • postbit_imicons
  • 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