Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues
Author Message
tehw1n
Hangin' Around



Joined: Jul 15, 2008
Posts: 49

PostPosted: Fri Feb 13, 2009 5:10 pm Reply with quote

I looked around in the admin preferences/etc, but cant find a way to remove the spotlight feature. does this manually need to be removed from multiple files?

ex: www.projectphidev.com

also, how can i center the logo at the top of the page?

thanks in advance!
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Feb 13, 2009 5:22 pm Reply with quote

Before anyone addresses your questions, I was wondering why the hyperlinks have been removed from your footer? You do show the text but there should be link back anchor tags around Raven PHP Scripts and RavenNuke(tm) TEAM

Distributed by Raven PHP Scripts
New code written and maintained by the RavenNuke(tm) TEAM
 
View user's profile Send private message
tehw1n







PostPosted: Fri Feb 13, 2009 5:25 pm Reply with quote

was curious about that myself. i didnt remove the hyperlinks personally.
perhaps the CT_RN theme removed these somehow.

on that note, was also going to inquire how I can make the hyperlinks on the site display as normal hyperlinks, and not solid white to appear as normal text.

but i'll open a new thread for that.. Smile
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Feb 13, 2009 6:02 pm Reply with quote

tehw1n wrote:
perhaps the CT_RN theme removed these somehow.


Nope... I can see them plain as day when I switch to the said theme on http://www.ravennuke.com, the team's demo site.

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







PostPosted: Fri Feb 13, 2009 6:18 pm Reply with quote

I'm wondering is if we added them in v2.30.01 (not yet released). I need to check that.
 
horrorcode
Involved
Involved



Joined: Jan 17, 2009
Posts: 272
Location: Missouri

PostPosted: Fri Feb 13, 2009 6:33 pm Reply with quote

Interesting, those dont show at all in my 2.3 ct_rn, I enabled the theme for a couple hours so you can look. Odd.
 
View user's profile Send private message
Raven







PostPosted: Fri Feb 13, 2009 7:59 pm Reply with quote

Would you please zip up the entire CT_RN folder and email it to me at

raven
ravenphpscripts
com

Just formulate that to an email addy Smile
 
spasticdonkey
RavenNuke(tm) Development Team



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

PostPosted: Fri Feb 13, 2009 8:44 pm Reply with quote

yes i think there is an anomaly, it was missing from my version of CT_RN...

to remove the spotlight find in html/themes/CT_RN/theme.php
Code:
<div id="spotlight">

      <span><span>&nbsp;</span>
      </span>
      <img src="themes/CT_RN/images/small_spotlight.gif" alt="Spotlight" class="overlay" />';
        
        if(ads(0)){
      echo '<br /><br />';
         echo ads(0);  // the 0 indicates the banner postion change the position via your advertisment admin panel
        }else{
         echo '<img src="themes/CT_RN/images/spotlight.jpg" alt="Advertisment Banner" />';
       }
     echo '</div>';


and comment out or remove.
 
View user's profile Send private message Visit poster's website
tehw1n







PostPosted: Sat Feb 14, 2009 1:23 pm Reply with quote

tried this spastic, but it caused http 500 error (no page displayed).

so I have added it back in..
 
spasticdonkey







PostPosted: Sat Feb 14, 2009 5:52 pm Reply with quote

ahh my fault, forgot to close line above, find
Code:
echo '</div>

      <div id="themecontainer">
      <!-- Banner -->
      <h1>
      <a href="./"><img src="themes/CT_RN/images/mainbanner.jpg" alt="A Free Theme By www.clan-themes.co.uk" /></a>
      </h1>
      <!-- Spotlight Section -->
      <div id="spotlight">
      <span><span>&nbsp;</span>
      </span>
      <img src="themes/CT_RN/images/small_spotlight.gif" alt="Spotlight" class="overlay" />';
        
        if(ads(0)){
      echo '<br /><br />';
         echo ads(0);  // the 0 indicates the banner postion change the position via your advertisment admin panel
        }else{
         echo '<img src="themes/CT_RN/images/spotlight.jpg" alt="Advertisment Banner" />';
       }
     echo '</div>';


replace with
Code:
echo '</div>

      <div id="themecontainer">
      <!-- Banner -->
      <h1>
      <a href="./"><img src="themes/CT_RN/images/mainbanner.jpg" alt="A Free Theme By www.clan-themes.co.uk" /></a>
      </h1>';
 
Raven







PostPosted: Sat Feb 14, 2009 6:43 pm Reply with quote

Horrorcode and SpasticDonkey: The CT_RN theme is not the issue. The code that ships with RNv2.30.00 is correct. That particular code is in the nuke_config table (Preferences footer 3)

If you check the file INSTALLATION/sql/rn_core.sql for the code that creates/populates the nuke_config table, you should see the following for the foot3 column you should see

Code:
'You can syndicate our news using the file <a href="backend.php"><font class="footmsg_l">backend.php</font></a> or <a href="ultramode.txt"><font class="footmsg_l">ultramode.txt</font></a> <br /><br /><font class="footmsg_l"><a href="http://ravenphpscripts.com" title="Distributed by Raven PHP Scripts">Distributed by Raven PHP Scripts</a><br />New code written and maintained by the<a href="HowToInstall/credits.html" target="_blank"> RavenNuke&trade; TEAM</a></font>'


Please verify that your nuke_config table foot3 column shows the same. Were your sites, per chance, upgrades and you missed the update to the foot3 column?
 
spasticdonkey







PostPosted: Sat Feb 14, 2009 7:56 pm Reply with quote

yes the 2.3 installer is fine, and yes it was an upgrade... at one time i moved the rn credits up to footer2 for design reasons and had a custom footer3, when upgrade took place it didn't change footer3...
 
tehw1n







PostPosted: Sat Feb 14, 2009 9:59 pm Reply with quote

sorry spastic, same thing. http 500 again.
 
Palbin
Site Admin



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

PostPosted: Sat Feb 14, 2009 10:02 pm Reply with quote

I don't understand how you are getting an internal server error with any kind of change like this.

_________________
"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
Palbin







PostPosted: Sat Feb 14, 2009 10:04 pm Reply with quote

spasticdonkey wrote:
ahh my fault, forgot to close line above, find
Code:
echo '</div>

      <div id="themecontainer">
      <!-- Banner -->
      <h1>
      <a href="./"><img src="themes/CT_RN/images/mainbanner.jpg" alt="A Free Theme By www.clan-themes.co.uk" /></a>
      </h1>
      <!-- Spotlight Section -->
      <div id="spotlight">
      <span><span>&nbsp;</span>
      </span>
      <img src="themes/CT_RN/images/small_spotlight.gif" alt="Spotlight" class="overlay" />';
        
        if(ads(0)){
      echo '<br /><br />';
         echo ads(0);  // the 0 indicates the banner postion change the position via your advertisment admin panel
        }else{
         echo '<img src="themes/CT_RN/images/spotlight.jpg" alt="Advertisment Banner" />';
       }
     echo '</div>';


replace with
Code:
echo '</div>

      <div id="themecontainer">
      <!-- Banner -->
      <h1>
      <a href="./"><img src="themes/CT_RN/images/mainbanner.jpg" alt="A Free Theme By www.clan-themes.co.uk" /></a>
      </h1>';


There is a missing echo '</div>';

replace with
Code:
echo '</div>

      <div id="themecontainer">
      <!-- Banner -->
      <h1>
      <a href="./"><img src="themes/CT_RN/images/mainbanner.jpg" alt="A Free Theme By www.clan-themes.co.uk" /></a>
      </h1>';
echo '</div>';
 
tehw1n







PostPosted: Sat Feb 14, 2009 11:11 pm Reply with quote

palbin, thanks for this, but no dice either.
it worked, but removed and broke some background formatting.

will leave as it is for a short while if you want to look.

www.projectphidev.com

i greatly appreciate the suggestions so far.
 
Palbin







PostPosted: Sat Feb 14, 2009 11:42 pm Reply with quote

I'm looking into it now.
 
Palbin







PostPosted: Sat Feb 14, 2009 11:59 pm Reply with quote

Ok try this. The following code assumes you are starting from a clean file.

Find:
Code:


      echo '</div>
      <div id="themecontainer">
      <!-- Banner -->
      <h1>
      <a href="./"><img src="themes/CT_RN/images/mainbanner.jpg" alt="A Free Theme By www.clan-themes.co.uk" /></a>
      </h1>
      <!-- Spotlight Section -->
      <div id="spotlight">
      <span><span>&nbsp;</span>
      </span>
      <img src="themes/CT_RN/images/small_spotlight.gif" alt="Spotlight" class="overlay" />';
        
        if(ads(0)){
      echo '<br /><br />';
         echo ads(0);  // the 0 indicates the banner postion change the position via your advertisment admin panel
        }else{
         echo '<img src="themes/CT_RN/images/spotlight.jpg" alt="Advertisment Banner" />';
       }
     echo '</div>';
     if (!is_user($user) AND $name != "Your_Account") {


Replace iwth:
Code:


      echo '</div>
      <div id="themecontainer">
      <!-- Banner -->
      <center>
      <a href="./"><img src="themes/CT_RN/images/mainbanner.jpg" alt="A Free Theme By www.clan-themes.co.uk" /></a>
      </center>';
             
        if(ads(0)){
      echo '<br /><br />';
         echo ads(0);  // the 0 indicates the banner postion change the position via your advertisment admin panel
        }
    
     if (!is_user($user) AND $name != "Your_Account") {
 
spasticdonkey







PostPosted: Sun Feb 15, 2009 12:21 am Reply with quote

I'm pretty sure that the <h1> tag is required for formatting, and the themecontainer div isnt closed until the end of the page. This version of theme.php worked for me.

http://www.rtsforce.com/files/theme.zip
 
Palbin







PostPosted: Sun Feb 15, 2009 12:29 am Reply with quote

Your worked for me as well.

You are correct about the div tag that was a mistake by me a few posts back.

You need to remove the H1 tags because his banner is a different size.
 
spasticdonkey







PostPosted: Sun Feb 15, 2009 12:45 am Reply with quote

yes that makes sense, and the centering does too Smile

if you want to just edit your CSS file so you don't have to mess with theme.php again, just find
h1{clear:both; height:232px; margin:0}
and replace with
h1{clear:both; height:150px; margin:0; text-align:center}
should work Smile

I would probably create a header image that is 980px wide so you dont need to center, but thats just me Smile
 
tehw1n







PostPosted: Sun Feb 15, 2009 1:30 am Reply with quote

Woooooooo!
excellent!

Thank you so much guys. looks perfect. will keep the notes from this thread in case we get a correct banner size down the road.

Very Happy
 
horrorcode







PostPosted: Sun Feb 15, 2009 1:49 am Reply with quote

Raven: Thanks for explaining, I never wouldve knew, I havent used those columns since '05... Ive always prefered to hard-code links and copyrights into the theme. That said, is there more of a specific way you (the team) could hard-code that into the copyright field and force copyright() to be shown wherever footer3 is, or something of that matter, maybe create a new field copyrightrn. Just some thoughts.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes 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 ©