Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes
Author Message
engino
New Member
New Member



Joined: Oct 18, 2010
Posts: 17
Location: Belize

PostPosted: Tue Oct 19, 2010 6:13 am Reply with quote

Ok, let me look at theme.php
 
View user's profile Send private message
engino







PostPosted: Tue Oct 19, 2010 6:20 am Reply with quote

I made the changes and it seems to be fixed now Smile
 
engino







PostPosted: Tue Oct 19, 2010 6:24 am Reply with quote

Many thanks guys,

I really appreciate your help. I will continue testing the RavenNuke software. Keep up the good work!

Best Regards,

-Benjamin
 
engino







PostPosted: Tue Oct 19, 2010 11:54 pm Reply with quote

Hi,

I seem to have run into another issue with this theme.

In the theme's admin area I get the following error when saving the theme's preferences:

Code:


Fatal error: Call to undefined function sql_query() in /var/www/test/data/www/raven.bze.bz/admin/modules/themecpanel.php on line 228


The contents of line 228 are:

Code:


sql_query("UPDATE ".$prefix."_themecpanel SET rightclick='$xrightclick', rightclick1='$xrightclick1', disableall='$xdisableall', disableall1='$xdisableall1', sourcecode='$xsourcecode', clickms='$xclickms'", $dbi);


Any Ideas?

Regards,

-Benjamin
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Wed Oct 20, 2010 4:58 am Reply with quote

Try this:

Code:
$db->sql_query("UPDATE ".$prefix."_themecpanel SET rightclick='$xrightclick', rightclick1='$xrightclick1', disableall='$xdisableall', disableall1='$xdisableall1', sourcecode='$xsourcecode', clickms='$xclickms'"); 



Make sure any global that has $dbi is changed to $db. You would also want to check the rest of your theme for usage of $dbi and fix it. Here is a link with directions. http://www.ravenphpscripts.com/postt16627.html

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
engino







PostPosted: Wed Oct 20, 2010 5:11 am Reply with quote

Thank you Nuken,

I will give it a go tomorrow night and let you know how it works out.

Best Regards,

-Benjamin
 
engino







PostPosted: Wed Oct 20, 2010 7:16 pm Reply with quote

I made the changes and it works well now. Smile

Many Thanks,

-Benjamin
 
engino







PostPosted: Sat Oct 23, 2010 1:32 am Reply with quote

Hello,

I noticed a missing image when viewing news. At first I thought it was the theme. I then tried other themes and all seem to have the same missing image. Here is the html output.

Code:


<a href="modules.php?name=News&amp;new_topic=0" title=""><img src="images/topics/" border="0" alt="" align="right" hspace="10" vspace="10" />


I assume it is an issue in the news module. Could someone point me in the right direction to correct this.

Best Regards,

-Benjamin
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sat Oct 23, 2010 9:05 am Reply with quote

It is most likely because when you made the news post you did not add it under a certain topic. It should probably force you to select a topic, but it does not. You can leave it as is as it is no big deal, or edit the news story and select a topic.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
engino







PostPosted: Sun Oct 31, 2010 11:16 pm Reply with quote

Yes indeed Palbin, selecting a topic rectified the issue.

I do have a question tho. You mention that I can edit the news story. I have looked around and do not seem to see a way to edit news once it has been posted. I know that the edit feature is probably staring me in the face but somehow I cant find it.

Best Regards,

-Benjamin
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Sun Oct 31, 2010 11:44 pm Reply with quote

your not the first to miss this, but it's on the main admin page at the bottom Smile
 
View user's profile Send private message Visit poster's website
engino







PostPosted: Mon Nov 01, 2010 12:41 am Reply with quote

And there it is! lol

Many Thanks Smile

-Benjamin
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Themes

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©