PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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:
Only registered users can see links on this board!
Get registered or login to the forums!


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: 16986
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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
View user's profile Send private message
montego
Site Admin


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

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
the team's demo site.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

I'm wondering is if we added them in v2.30.01 (not yet released). I need to check that.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
horrorcode
Involved
Involved


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

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

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 Visit poster's website MSN Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spasticdonkey
RavenNuke(tm) Development Team


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

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

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
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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

so I have added it back in..
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


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

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
/></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
Only registered users can see links on this board!
Get registered or login to the forums!
/></a>
      </h1>';
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spasticdonkey
RavenNuke(tm) Development Team


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

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

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...
View user's profile Send private message
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

sorry spastic, same thing. http 500 again.
View user's profile Send private message
Palbin
Site Admin


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

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

I don't understand how you are getting an internal server error with any kind of change like this.
View user's profile Send private message
Palbin
Site Admin


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

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
/></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
Only registered users can see links on this board!
Get registered or login to the forums!
/></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
Only registered users can see links on this board!
Get registered or login to the forums!
/></a>
      </h1>';
echo '</div>';
View user's profile Send private message
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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.
Only registered users can see links on this board!
Get registered or login to the forums!


i greatly appreciate the suggestions so far.
View user's profile Send private message
Palbin
Site Admin


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

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

I'm looking into it now.
View user's profile Send private message
Palbin
Site Admin


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

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
/></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
Only registered users can see links on this board!
Get registered or login to the forums!
/></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") {
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


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

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

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.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Palbin
Site Admin


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

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

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.
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


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

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

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
View user's profile Send private message
tehw1n
Hangin' Around


Joined: Jul 15, 2008
Posts: 49

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

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
View user's profile Send private message
horrorcode
Involved
Involved


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

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

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.
View user's profile Send private message Visit poster's website MSN Messenger
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum