Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
hamrdeye
Hangin' Around



Joined: Aug 20, 2008
Posts: 28

PostPosted: Thu May 06, 2010 9:18 am Reply with quote

I need locating what file displays the "Defenders Of Freedom: Forums" in middle of the included screenshot of my site.

Image
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



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

PostPosted: Thu May 06, 2010 10:47 am Reply with quote

It is probably in your themes forum header. You might want to ask over at clanthemes.com, that looks like one of their themes.

_________________
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
hamrdeye







PostPosted: Thu May 06, 2010 11:21 am Reply with quote

It shows up on the Forums and Member List modules. Its also there on the stock themes, IE RavenICE and NukeNews.


Last edited by hamrdeye on Thu May 06, 2010 11:22 am; edited 1 time in total 
eldorado
Involved
Involved



Joined: Sep 10, 2008
Posts: 424
Location: France,Translator

PostPosted: Thu May 06, 2010 11:21 am Reply with quote

It's not in the theme folder

it's in modules/Forums and you need to look for header.php or index.php , i don't remember which one to be honest. But i know it's in there.

You'd probably have a good chance of finding the right place by running a search on OpenTable() or Closetable() on the folder.

_________________
Only registered users can see links on this board! Get registered or login! (My RN site)- Only registered users can see links on this board! Get registered or login!(cod4 clan) - Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website MSN Messenger
nuken







PostPosted: Thu May 06, 2010 11:36 am Reply with quote

modules/Forums/includes/page_header.php for the forums.

Code:
if ($row['custom_title'] == "") {

    $mod_name = ereg_replace("_", " ", $name);
} else {
    $mod_name = $row['custom_title'];
}
if (!$is_inline_review & $mod_name != "Private Messages") {
    title("$sitename: $mod_name");
}


the other modules have it in their index.php.
 
hamrdeye







PostPosted: Thu May 06, 2010 11:42 am Reply with quote

Thanks! If someone could save me a few hours work (as I know nothing about PHP), I want to replace that with a static banner image. I would appreciate it.. I'll try also!
 
nuken







PostPosted: Thu May 06, 2010 11:45 am Reply with quote

You don't want to put it there. That code just defines the page title. I will look in the theme and see real quick.

Edit. That is where you would edit.


Last edited by nuken on Thu May 06, 2010 12:22 pm; edited 1 time in total 
snype
Regular
Regular



Joined: Aug 12, 2008
Posts: 58

PostPosted: Thu May 06, 2010 11:49 am Reply with quote

I would have thought it would be in the overall_header?
 
View user's profile Send private message
eldorado







PostPosted: Thu May 06, 2010 12:00 pm Reply with quote

nuken are you sure title is the page title?
 
eldorado







PostPosted: Thu May 06, 2010 12:03 pm Reply with quote

Nuken go there m8
http://united-holy-dragons.net/forums.html
Code:
if (!$is_inline_review & $mod_name != "Private Messages") {

    title("$sitename: $mod_name Nuken hasn't check what he said...");
}
 
nuken







PostPosted: Thu May 06, 2010 12:16 pm Reply with quote

in modules/Forums/includes/page_header.php

Change:
Code:
if (!$is_inline_review & $mod_name != "Private Messages") {

    title("$sitename: $mod_name");
}

to
Code:


if (!$is_inline_review & $mod_name != "Private Messages") {
    //title("$sitename: $mod_name");
OpenTable();
    echo '<center><img src="your banner location here" alt="you banner name" /></center>';
CloseTable();
}
 
hamrdeye







PostPosted: Thu May 06, 2010 12:25 pm Reply with quote

SaWeeT!

I made the change! Works like a champ! Thanks nuken! Now I can add an image or just comment out the lines and remove that completely!

You can see it action Only registered users can see links on this board! Get registered or login!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

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 ©