You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 116 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - phpbb to nuke [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
mekon
Nuke Soldier
Nuke Soldier


Joined: Mar 29, 2004
Posts: 17


PostPosted: Mon Mar 29, 2004 5:33 am Reply with quoteBack to top

Hi please could some1 help, im trying to convert my users / forums etc over from my phpbb site to phpnuke

www.tvaclan.net/clan // phpbb site

www.tvaclan.net/clan-/index.php // nuke site

ive used the conversion tool phpBBforums2nukeforums_6.5 done everything its asked inc setting my perl dir. but im getting an internal server error when trying to run the phpBBusers2nukeusers.pl file.

here is what i have as my perl dir
Code:
#!/usr/bin/perl -w
and thats at the top of each script as requested.

does anyone know why im getting this error ?

Thanks in advance

mekon
Find all posts by mekonView user's profileSend private message
PuGZ
Sergeant
Sergeant


Joined: Mar 01, 2004
Posts: 136

Location: Victoria, Australia

PostPosted: Tue Mar 30, 2004 3:25 am Reply with quoteBack to top

http://www.nukecops.com/uploads/pugz/transfer.zip

Try that instead mate. Before you run it, make sure that you correct all the variables up the top, mmmkay? Report back with any problems! Very Happy
Find all posts by PuGZView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
mekon
Nuke Soldier
Nuke Soldier


Joined: Mar 29, 2004
Posts: 17


PostPosted: Tue Mar 30, 2004 6:59 am Reply with quoteBack to top

Thanks for the help Very Happy

just one prob...

Code:
phpBB : Critical Error

Could not get theme data for themes_id [3] 
 


everything seemed to transfer over but i cant access the theme info, how do i go about setting the theme again ?
Find all posts by mekonView user's profileSend private message
mekon
Nuke Soldier
Nuke Soldier


Joined: Mar 29, 2004
Posts: 17


PostPosted: Tue Mar 30, 2004 7:08 am Reply with quoteBack to top

ive gone into my database and changed override users style to 0 to see if i could use the default nuke theme but it hasnt, its given me the error

Code:
phpBB : Critical Error

Could not open Boyz template config file

DEBUG MODE

Line : 370
File : /home/mekon/public_html/clan-/includes/functions.php 
 


using Boyz theme from my old site, where would i correct this ?

Thanks for the help..
Find all posts by mekonView user's profileSend private message
mekon
Nuke Soldier
Nuke Soldier


Joined: Mar 29, 2004
Posts: 17


PostPosted: Tue Mar 30, 2004 7:19 am Reply with quoteBack to top

ok i done it all on my tod \0/

I luckely backed up the database b4 transfer, so i just dropped the nuke_bbtheme database info and imported the original.

Thanks for the help with the file much easier than the other way i was gonna try. Very Happy
Find all posts by mekonView user's profileSend private message
PuGZ
Sergeant
Sergeant


Joined: Mar 01, 2004
Posts: 136

Location: Victoria, Australia

PostPosted: Tue Mar 30, 2004 10:49 pm Reply with quoteBack to top

So it's all working now? Smile
Find all posts by PuGZView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
mekon
Nuke Soldier
Nuke Soldier


Joined: Mar 29, 2004
Posts: 17


PostPosted: Wed Mar 31, 2004 12:19 am Reply with quoteBack to top

yeah working great thanks a lot for the help Very Happy

Another problem i have found is, now that the forums are installed i can see that the scrolling forum block on my site allows visitors and non forum members to view topics from all forums. i am using this version.

Code:
Forums Block for phpBB 2.0.0 port to PHP Nuke 5.5                    */
/* =================================================                    */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)         */
/* http://phpnuke.org                     */
/*                           */
/* Version 1, modified by Sébastien Vaast 


is there a way or another mod that will allow for user permissions within the block ?

Thanks in advance..
Find all posts by mekonView user's profileSend private message
PuGZ
Sergeant
Sergeant


Joined: Mar 01, 2004
Posts: 136

Location: Victoria, Australia

PostPosted: Wed Mar 31, 2004 12:33 am Reply with quoteBack to top

mekon wrote:
yeah working great thanks a lot for the help Very Happy

Another problem i have found is, now that the forums are installed i can see that the scrolling forum block on my site allows visitors and non forum members to view topics from all forums. i am using this version.

Code:
Forums Block for phpBB 2.0.0 port to PHP Nuke 5.5                    */
/* =================================================                    */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)         */
/* http://phpnuke.org                     */
/*                           */
/* Version 1, modified by Sébastien Vaast 


is there a way or another mod that will allow for user permissions within the block ?

Thanks in advance..
Mate, you're in luck! It's a feature of PHP-Nuke! Open up your admin panel, and go to Blocks Admin.

Now see, under functions it says 'Edit'? Hit that for the scrolling forums block. This'll open up a new page.

Where it says 'Who can view this?' change it to 'Registered Users Only'

And you're off! Very Happy
Find all posts by PuGZView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
mekon
Nuke Soldier
Nuke Soldier


Joined: Mar 29, 2004
Posts: 17


PostPosted: Wed Mar 31, 2004 12:47 am Reply with quoteBack to top

ah yes but can registered users still see posts from forums that there not given permission too ? e.g. i got clan members only forums i dont want any registered members to be able to view, will this stop them users viewing the members only forum posts ?
Find all posts by mekonView user's profileSend private message
EscortCossie
Lieutenant
Lieutenant


Joined: Feb 21, 2004
Posts: 235

Location: Stavanger, Norway

PostPosted: Wed Mar 31, 2004 12:50 am Reply with quoteBack to top

I have a read only standalone forum that I would like to import all posts from and embed them into my existing phpnuke forum.

Is this possible by using Transfer.php?

_________________
Image
Visit the Ford Escort Portal >> EscortPower.net!
Find all posts by EscortCossieView user's profileSend private messageVisit poster's website
mekon
Nuke Soldier
Nuke Soldier


Joined: Mar 29, 2004
Posts: 17


PostPosted: Wed Mar 31, 2004 12:50 am Reply with quoteBack to top

No i just created new account so i got no admin just normal access to public forums and i can see the members only post topics in the block still although i cant read the posts.
Find all posts by mekonView user's profileSend private message
PuGZ
Sergeant
Sergeant


Joined: Mar 01, 2004
Posts: 136

Location: Victoria, Australia

PostPosted: Wed Mar 31, 2004 1:53 am Reply with quoteBack to top

mekon wrote:
No i just created new account so i got no admin just normal access to public forums and i can see the members only post topics in the block still although i cant read the posts.
Please send me a link to the block download, or send the block to me and I'll work on it for you Smile

EscortCossie: Unfortunately, no, sorry dude. I'll try to find you another script, perhaps?
Find all posts by PuGZView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
mekon
Nuke Soldier
Nuke Soldier


Joined: Mar 29, 2004
Posts: 17


PostPosted: Wed Mar 31, 2004 9:31 am Reply with quoteBack to top

Code:
<?php

/************************************************************************/
/* Forums Block for phpBB 2.0.0 port to PHP Nuke 6.5b6+                 */
/* ====================================================                 */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)         */
/* http://phpnuke.org                     */
/*                           */
/* Version 1, modified by Sébastien Vaast                               */
/* http://membres.lycos.fr/projectpluto/                                */
/*                                                                      */
/* Updated by Tom Nitzschner 22/06/2002 to add the scrolling text       */
/*                                                                      */
/* Updated by Paul Laudanski 14 Jan 2003                                */
/* NukeCops.com  |  ComputerCops.biz               */
/*                                               */
/* Last Edited - 14 Jan 2003                        */
/*                                               */
/* This Block shows the last 10 topics where a message was posted,   */
/* along with the username of the last poster and the day and time   */
/* of the post.                        */
/* It will also show smileys in the topic titles thanks to the      */
/* smileys.php file found in Leo Tan Block Forums version      */
/* (http://www.cybercomp.d2g.com).               */
/*                           */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (eregi("block-Forums.php", $PHP_SELF)) {
    Header("Location: index.php");
    die();
}

//include_once ('blocks/smileys.php');

global $prefix, $dbi, $sitename, $user, $cookie, $group_id;
$count = 1;


$content = "<A name= \"scrollingCode\"></A>";
$content .="<MARQUEE behavior= \"scroll\" align= \"center\" direction= \"up\" height=\"220\" scrollamount= \"2\" scrolldelay= \"20\" onmouseover='this.stop()' onmouseout='this.start()'>";
$content .="<center> <STYLE=\"text-decoration: none\"><font color=\"#666666\"><b>Last 20 Forum Messages</b></center>";



$result1 = sql_query("SELECT t.topic_id, t.topic_last_post_id, t.topic_title, f.forum_name, f.forum_id FROM ".$prefix."_bbtopics t, ".$prefix."_bbforums f where t.forum_id=f.forum_id ORDER BY t.topic_last_post_id DESC LIMIT 20", $dbi);
$content .= "<br>";


while(list($topic_id, $topic_last_post_id, $topic_title, $forum_name, $forum_id) = sql_fetch_row($result1, $dbi)) {

   $result2 = sql_query("SELECT topic_id, poster_id, FROM_UNIXTIME(post_time,'%b %d, %Y at %T') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);


   list($topic_id, $poster_id, $post_time)=sql_fetch_row($result2, $dbi);
   
   $result3 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$poster_id'", $dbi);
   list($username, $user_id)=sql_fetch_row($result3, $dbi);



   //$topic_title=parseEmoticons($topic_title);
   // Remove the comment below to add the counter
   //$content .="<STYLE=\"text-decoration: none\"><font color=\"#666666\"><b>Message: $count<br></b>";

        $sql = "SELECT auth_view
            FROM ".$prefix."_bbauth_access
            WHERE forum_id = '$forum_id'  and
                  group_id = '$group_id'  and
                  auth_view = 1 or
                  auth_mod  = 1";
        if( ($result5 = sql_query("SELECT auth_view FROM ".$prefix."_bbauth_access WHERE forum_id = '$forum_id' and group_id = '$group_id' and ( auth_view = 1 or auth_mod = 1 )", $dbi)) )
        {
          $content .= "<img src=\"modules/Forums/templates/subBlack/images/icon_mini_message.gif\" border=\"0\" alt=\"\"><a href=\"modules.php?name=Forums&amp;file=viewtopic&amp;p=$topic_last_post_id#$topic_last_post_id\"STYLE=\"text-decoration: none\"><b> $topic_title </b></a><br><font color=\"#666666\"><i>Last post by <A HREF=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"STYLE=\"text-decoration: none\"> $username </a> in <a href=\"modules.php?name=Forums&amp;file=viewforum&amp;f=$forum_id\">$forum_name</a> on $post_time</i></font><br><br>";
       $count = $count + 1;
        }

}


$content .= "<br><center>[ <a href=\"modules.php?name=Forums\"STYLE=\"text-decoration: none\">$sitename ]</center>";


?>


Thats the block i downloaded to use.

Thanks in advance

mekon
Find all posts by mekonView user's profileSend private message
Fish
Nuke Soldier
Nuke Soldier


Joined: Mar 31, 2004
Posts: 14


PostPosted: Wed Mar 31, 2004 6:15 pm Reply with quoteBack to top

I still am unclear about how u solved the couln't find theme error.... i am getting the same one (different theme) and was wondering what to cahnge in my database to get it back to default theme.... help please....
Find all posts by FishView user's profileSend private message
PuGZ
Sergeant
Sergeant


Joined: Mar 01, 2004
Posts: 136

Location: Victoria, Australia

PostPosted: Wed Mar 31, 2004 7:31 pm Reply with quoteBack to top

Fish wrote:
I still am unclear about how u solved the couln't find theme error.... i am getting the same one (different theme) and was wondering what to cahnge in my database to get it back to default theme.... help please....
http://nukecops.com/uploads/pugz/deftheme.zip

There you go Smile
Find all posts by PuGZView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.697 Seconds - 261 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::