Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
jondvb
Regular
Regular



Joined: Oct 25, 2003
Posts: 67

PostPosted: Mon Jan 31, 2005 1:03 pm Reply with quote

How do I move the topic image on the sotries from the left-hand side to the right?

This site has them on the right, mine are on the left.

http://josephwarrenlodge.com

Thanks!
 
View user's profile Send private message
dean
Worker
Worker



Joined: Apr 14, 2004
Posts: 193

PostPosted: Mon Jan 31, 2005 1:35 pm Reply with quote

It's an issue with that Vipixel theme vbluebaby. Here's the fix: Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
jondvb







PostPosted: Mon Jan 31, 2005 1:52 pm Reply with quote

Hi Dean,

I made the changes to the theme.php file and the images are still on the left. Was there something I missed?
 
dean







PostPosted: Mon Jan 31, 2005 4:02 pm Reply with quote

Make sure you apply the fix to the article box instead of the story box. I made that mistake initially.....
 
jondvb







PostPosted: Mon Jan 31, 2005 5:00 pm Reply with quote

Dean,

The only thing it says to modify is the theme.php file.

Am I not reading that thread correctly?
 
jondvb







PostPosted: Mon Jan 31, 2005 5:10 pm Reply with quote

This is where I made the changes...

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
global $tipath, $admin, $sid;

$ThemeSel = get_theme();
if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
$t_image = "themes/$ThemeSel/images/topics/$topicimage";
} else {
$t_image = "$tipath$topicimage";
}
//Begin Article Box
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n"
."<tr>\n"
."<td><table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"2\">\n"
."<tr>\n"
."<td><span color=\"#000000\"></span></td>\n"
."</tr>\n"
."</table>\n"
."<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"10\">\n"
."<tr>\n"
."<td width=\"15%\" valign=\"top\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n"
."<tr>\n"
."<td align=\"center\" valign=\"top\">\n"
."<a href=modules.php?name=Search&amp;query=&topic=$topic&author=><img src=$t_image border=0 Alt=\"$topictext\" align=\"right\" hspace=\"0\" vspace=\"0\"></a>\n"
."</td>\n"
 
jondvb







PostPosted: Mon Jan 31, 2005 5:14 pm Reply with quote

NM, found it. DUH!

Thanks, Dean.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

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 ©