| Author | Message |
| Post Title: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Wed Feb 18, 2004 8:42 am
anyone know where to get some phpnuke forum themes? i have my site theme, all set up, but there i started looking at making a forum on my site and found that that theme doesnt follow the rest of my site, nor does it have any optoins other than the stock "subsilver" theme which is basically unusable due to the colors...
where can i get some forum themes? i have done searches on the web, but everything i find seems to be themes for the whole page, not forums...i guess the only option i have found so far is to manually input the colors i want...what a pain that would be, to try and figure out all the right codes for the correct colors...i dont understand why the forum theme doesnt pull from the site theme, but oh well thanks guys |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Feb 18, 2004 8:47 am
nukecops has the archives from nukemods.com:
http://www.nukecops.com/modules.php?set ... _album.php |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Wed Feb 18, 2004 10:13 am
those all look like entire site themes, i found one i like, but just want to apply it to my forum, how do i change my forum theme without changing my entire site theme?
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Feb 18, 2004 1:21 pm
look in /themes/<themename>/forum/template/ , i believe the forum theme will be there.
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Wed Feb 18, 2004 2:43 pm
well, i at least got phbb to recognize it was there after uploading it in 3 places, into my theme/forums, into new theme/forums, and into modules/Forums/templates/, but when i chose it as the default theme i get this error
Code: › phpBB : Critical Error
the is a forums.cfg file in all three locations i uploaded it, so i dont know why it is saying it cant find it...any ideas?
Could not open fisubice template config file DEBUG MODE Line : 349 File : /home/virtual/site21/fst/var/www/html/html/includes/functions.php ps, yes that path is the right path for my site |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Feb 18, 2004 3:45 pm
i don't doubt you on the path, i remember what we went through a few months back
open the file (either forums.cfg, fiSubIce.cfg, etc) and make sure that: PHP: › is at the top.
<?php define(TEMPLATE_CONFIG, TRUE); ?>if it is, scan the file and make sure that there are no errors in syntax. i had this same problem, and a missing semicolon was the cause... |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Thu Feb 19, 2004 9:20 am
ok, that line is at the top of the file, and i dont see any obvious syntax error, but i am no code expert, so here it is just in case you can spot something i am missing
Code: › <?php
// // ** Configuration file for fisubice template ** // // $Id: fisubice.cfg,v 1.11 2002/02/04 18:31:15 psotfx Exp $ // // Please note that to enable support of different languages // the {LANG} place holder is available. This will be replaced // with xxx where xxx is the users selected language. If // that language isn't available it will default to english. // Therefore you MUST ensure you have at least a english // directory if you choose to localise your template // // // Do not alter this line! // define(TEMPLATE_CONFIG, TRUE); $current_template_images = $current_template_path . "/images"; $images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif"; $images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif"; $images['icon_search'] = "$current_template_images/{LANG}/icon_search.gif"; $images['icon_profile'] = "$current_template_images/{LANG}/icon_profile.gif"; $images['icon_pm'] = "$current_template_images/{LANG}/icon_pm.gif"; $images['icon_email'] = "$current_template_images/{LANG}/icon_email.gif"; $images['icon_delpost'] = "$current_template_images/icon_delete.gif"; $images['icon_ip'] = "$current_template_images/{LANG}/icon_ip.gif"; $images['icon_www'] = "$current_template_images/{LANG}/icon_www.gif"; $images['icon_icq'] = "$current_template_images/{LANG}/icon_icq_add.gif"; $images['icon_aim'] = "$current_template_images/{LANG}/icon_aim.gif"; $images['icon_yim'] = "$current_template_images/{LANG}/icon_yim.gif"; $images['icon_msnm'] = "$current_template_images/{LANG}/icon_msnm.gif"; $images['icon_minipost'] = "$current_template_images/icon_minipost.gif"; $images['icon_gotopost'] = "$current_template_images/icon_minipost.gif"; $images['icon_minipost_new'] = "$current_template_images/icon_minipost_new.gif"; $images['icon_latest_reply'] = "$current_template_images/icon_latest_reply.gif"; $images['icon_newest_reply'] = "$current_template_images/icon_newest_reply.gif"; $images['forum'] = "$current_template_images/folder.gif"; $images['forum_new'] = "$current_template_images/folder_new.gif"; $images['forum_locked'] = "$current_template_images/folder_lock.gif"; $images['folder'] = "$current_template_images/folder.gif"; $images['folder_new'] = "$current_template_images/folder_new.gif"; $images['folder_hot'] = "$current_template_images/folder_hot.gif"; $images['folder_hot_new'] = "$current_template_images/folder_new_hot.gif"; $images['folder_locked'] = "$current_template_images/folder_lock.gif"; $images['folder_locked_new'] = "$current_template_images/folder_lock_new.gif"; $images['folder_sticky'] = "$current_template_images/folder_sticky.gif"; $images['folder_sticky_new'] = "$current_template_images/folder_sticky_new.gif"; $images['folder_announce'] = "$current_template_images/folder_announce.gif"; $images['folder_announce_new'] = "$current_template_images/folder_announce_new.gif"; $images['post_new'] = "$current_template_images/{LANG}/post.gif"; $images['post_locked'] = "$current_template_images/{LANG}/reply-locked.gif"; $images['reply_new'] = "$current_template_images/{LANG}/reply.gif"; $images['reply_locked'] = "$current_template_images/{LANG}/reply-locked.gif"; $images['pm_inbox'] = "$current_template_images/msg_inbox.gif"; $images['pm_outbox'] = "$current_template_images/msg_outbox.gif"; $images['pm_savebox'] = "$current_template_images/msg_savebox.gif"; $images['pm_sentbox'] = "$current_template_images/msg_sentbox.gif"; $images['pm_readmsg'] = "$current_template_images/folder.gif"; $images['pm_unreadmsg'] = "$current_template_images/folder_new.gif"; $images['pm_replymsg'] = "$current_template_images/{LANG}/reply.gif"; $images['pm_postmsg'] = "$current_template_images/{LANG}/msg_newpost.gif"; $images['pm_quotemsg'] = "$current_template_images/{LANG}/icon_quote.gif"; $images['pm_editmsg'] = "$current_template_images/{LANG}/icon_edit.gif"; $images['pm_new_msg'] = ""; $images['pm_no_new_msg'] = ""; $images['topic_watch'] = ""; $images['topic_un_watch'] = ""; $images['topic_mod_lock'] = "$current_template_images/topic_lock.gif"; $images['topic_mod_unlock'] = "$current_template_images/topic_unlock.gif"; $images['topic_mod_split'] = "$current_template_images/topic_split.gif"; $images['topic_mod_move'] = "$current_template_images/topic_move.gif"; $images['topic_mod_delete'] = "$current_template_images/icon_delete.gif"; $images['voting_graphic'][0] = "$current_template_images/voting_bar.gif"; $images['voting_graphic'][1] = "$current_template_images/voting_bar.gif"; $images['voting_graphic'][2] = "$current_template_images/voting_bar.gif"; $images['voting_graphic'][3] = "$current_template_images/voting_bar.gif"; $images['voting_graphic'][4] = "$current_template_images/voting_bar.gif"; // // Vote graphic length defines the maximum length of a vote result // graphic, ie. 100% = this length // $board_config['vote_graphic_length'] = 205; $board_config['privmsg_graphic_length'] = 175; ?> now according to the error above it is pointing me to line 349 in my functions.php file which i think is this section (i didnt actually count all the lines, but when i put it in Word the last line of this was line 349) Code: › $ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/forums/index_body.tpl")) { $template_path = "themes/$ThemeSel/"; $template_name = "forums"; $template = new Template($template_path . $template_name, $board_config, $db); } else { $template_path = 'templates/' ; $template_name = $row['template_name'] ; $template = new Template($phpbb_root_path . $template_path . $template_name, $board_config, $db); } now, i assume that when it sets $Themesel to get_theme that it pulls my site theme (which is BricK), and the file index_body.tpl does exist in themes/BricK/forums/, so everything looks right ok to me, however the error is pointing at line 349 which according to Word is the last line, but that doesnt make any sense because it should never process the "else" statement since the "if" statement is true what do you think? ps. the "Notify me when a reply is posted" option here doesnt work. Don't know if you know that or not. |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Feb 19, 2004 3:32 pm
inSaNE_iRIsH wrote: › ok, that line is at the top of the file, and i dont see any obvious syntax error, but i am no code expert, so here it is just in case you can spot something i am missing
Code: › <snip>
now according to the error above it is pointing me to line 349 in my functions.php file which i think is this section (i didnt actually count all the lines, but when i put it in Word the last line of this was line 349) Code: › <snip>
Can you email me your functions.php file? I'll take a look... inSaNE_iRIsH wrote: › ps. the "Notify me when a reply is posted" option here doesnt work. Don't know if you know that or not.
*grumble*...i'll check it on this post and see what happens (i get a mail by default as the moderator of the forum, so i'll see if I get two when you reply to this). |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Thu Feb 19, 2004 4:23 pm
ok, its on its way...took me a minute to find your email since it doesnt show at the bottom of your message, but i found it
thanks for your help |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Feb 19, 2004 4:24 pm
got the email, and a "you got a reply to your post" email as well.... i'll look into it tonight, i'm just about to head home from work.
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Thu Feb 19, 2004 4:38 pm
hmm, odd, i just realized that i my junk filter deletes emails immediatly, i wonder if it is getting caught as a junk email...i will try turning it off and will hopefully get a notice the next time you respond to this
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Feb 19, 2004 8:12 pm
yeah hotmail does that and i'm not sure why *double grumble* ... i'm not relaying through any other mail server (postfix is running on this machine)...
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Thu Feb 19, 2004 8:46 pm
hey, i got one now...that must have been it
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Feb 20, 2004 9:28 am
try hardcoding in the path to your cfg file...
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Fri Feb 20, 2004 10:22 am
i'm so stupid...lol...i tried hard coding the path, and it still wasn't finding it, so i was like what the hell, so i started looking closer and realized that i had inadvertantly named the folder "forum" instead of "forums" thus negating the path it was looking for...i renamed the folder and off it went...
sorry for making you look at something for such an obvious problem. thanks for all your help. |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Feb 20, 2004 10:26 am
ah, so it's working?
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Fri Feb 20, 2004 10:42 am
well, when i fixed the name and went to the forum it doesnt error anymore (i took out the hard coding once i realized the dir name mistake...but, i went to my admin panel and clicked on Forums in order to finish configuring my board and it gives me the same damn error there
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Thu Mar 04, 2004 12:15 pm
inSaNE_iRIsH wrote: › but, i went to my admin panel and clicked on Forums in order to finish configuring my board and it gives me the same damn error there
any ideas anyone |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
Kit
Joined: Aug 31, 2003 Posts: 163
|
Posted: Mon Mar 08, 2004 11:14 pm
Yeah, at this point I think it's a phpmyadmin MySQL fix....
It is referencing a theme as the admin default that is no longer there. Make sure you didn't delete the default SubSilver theme, as admin will still use it. |
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Mon Mar 15, 2004 3:32 pm
nope, subsilver theme is still intact, it is erroring trying to find the new theme...i even tried totally deleting the new theme and that didnt work, so i cant even get into the forum admin to change the theme to something else...can i change it in sql somehow?
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
Kit
Joined: Aug 31, 2003 Posts: 163
|
Posted: Mon Mar 15, 2004 3:43 pm
Yes... I'll get back to you on it tomorrow evening if there isn't an answer here by then. (I don't have phpmyadmin access from here)
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
inSaNE_iRIsH
Joined: Jun 19, 2003 Posts: 101
|
Posted: Wed Apr 07, 2004 9:41 pm
bump...got anything for me kit?
|
| Author | Message |
| Post Title: Re: phpnuke forum themes | |
Kit
Joined: Aug 31, 2003 Posts: 163
|
Posted: Fri Apr 23, 2004 10:18 pm
Sry.... work has been busy lately.
MySQL values to check. TABLE: nuke_bbconfig default_style = 1 (should match themes_id = 1 which should be Subsilver) script_path = /modules/Forums/ TABLE: nuke_bbthemes themes_id = 1 = Subsilver (should match the default_style = number above) and should be whatever # subsilver is) |