Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.217
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Mouse hover topic mod help
Mouse hover topic mod help

8 Replies / 897 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Hacks n Mods

View previous topic :: View next topic


Genuine
Reputation: 66 Add RepSubtract Rep
Local time: 4:48 AM


Welcome to Clan-Themes
Welcome to Clan-Themes

0.17 posts per day
Medals: 2 (View more...)
Distinguished Buyer (Amount: 1)

Joined: Jan 30, 2008
Last Visit: 09 Feb 2012
Posts: 249
Points: 36177 

Post Mouse hover topic mod help Posted: Sat Jul 04, 2009 2:04 pm

Shop Purchases:
Crysis Theme · CRYSIS X-Theme (Ultimate) for PhpNuke · Lord of The Rings Theme · Clan Roster 2.0 · Diablo 3 Ultimate Theme · Battlefield 2142-X · Modern Warfare 2 Evo · Modern Gamer Evo Multi Theme  · Battlefield: Bad Company 2 Evo Theme · Crysis 2 Evo Theme · Battlefield 3 Evo Theme · Modern Warfare 3 Evo Theme · Star Wars Old Republic Evo Theme · Battlefield 3 Stats Module

hi hope this is in the proper place i am trying to do the hover topic mod and i can't fined this file includes/my_header.php i also check the forum/includes/ file is it possible its called by another name ?

thanx in advance for any help
 

 
View user's profileSend private message Reply with quote

DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 11:48 PM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128882 

Post Mouse hover topic mod help Posted: Sat Jul 04, 2009 5:19 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

The file does not exisit on every distro. What I do, is just to insert that code into the header.php file.

Try this.

Code:
#
#-----[ OPEN ]------------------------------------------
#
public_html/header.php

#
#-----[ FIND ]------------------------------------------
#

echo '<head>', "\n";

#
#-----[ AFTER, ADD ]------------------------------------------
#

   echo "<script type=\"text/javascript\" language=\"JavaScript\" src=\"includes/boxover/boxover.js\">\n";


The echo '<head>', "\n"; might be a little different but as long as you find the line with <head> in it, that will be the line it will come after.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

clyde4210
Reputation: 395.3 Add RepSubtract Rep
Local time: 11:48 PM

blank.gif

OMG
OMG

0.11 posts per day
Medals: 0

Joined: Oct 24, 2007
Last Visit: 24 Jul 2009
Posts: 167
Points: 7534 

Post Mouse hover topic mod help Posted: Sat Jul 04, 2009 9:37 pm

yes it's probably located in includes/custom files/my_header or custom_header
 

 
View user's profileSend private messageVisit poster's website Reply with quote


DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 11:48 PM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128882 

Post Re: Mouse hover topic mod help Posted: Sat Jul 04, 2009 11:52 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

clyde4210 wrote:
yes it's probably located in includes/custom files/my_header or custom_header


but if you actually look at the script he is better off just doing what I suggested rather then searching for that. considering that the script is over 5 years old and was for nuke 7.2.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

clyde4210
Reputation: 395.3 Add RepSubtract Rep
Local time: 11:48 PM

blank.gif

OMG
OMG

0.11 posts per day
Medals: 0

Joined: Oct 24, 2007
Last Visit: 24 Jul 2009
Posts: 167
Points: 7534 

Post Mouse hover topic mod help Posted: Sun Jul 05, 2009 8:15 pm

i'm not so sure about that. the more scripts you load in the header.php file the slower your site gets.

look at your site. it freezes browsers left and right and takes forever to load because of all the scripts you're putting in the header.php.

best practices are only call a script when it's needed and not have it load every time a page loads. which is what your site does.

Sorry but i have to disagree and say you are incorrect and practicing bad habits. him putting it in the header.php will call that script throughout the site when it's only needed in the forums. the best way would be to put it in the includes so it's only called in the forums and not throughout the site.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 11:48 PM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Dedication (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128882 

Post Re: Mouse hover topic mod help Posted: Sun Jul 05, 2009 11:10 pm

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

I only have 2 script that called on mine.

as for the includes/my_header.php would be called all the time anyways if memory servers me right. I believe in the header.php they had it calling on the includes/my_header.php, so not sure where you going with this.

Also, my site loaded up slower for some for we had allot of Flash, and to much, will slow down the site a bit.
 

 
View user's profileSend private messageVisit poster's website Reply with quote


clyde4210
Reputation: 395.3 Add RepSubtract Rep
Local time: 11:48 PM

blank.gif

OMG
OMG

0.11 posts per day
Medals: 0

Joined: Oct 24, 2007
Last Visit: 24 Jul 2009
Posts: 167
Points: 7534 

Post Mouse hover topic mod help Posted: Sun Jul 05, 2009 11:37 pm

what i am saying is it being in the includes/custom/header it will only be called in the forums as if it were called from the header.php it is always called when a page loads.
 

 
View user's profileSend private messageVisit poster's website Reply with quote

DreAdeDcoRpSE
Reputation: 2221.6 Add RepSubtract Rep
votes: 28
Local time: 11:48 PM
Location: Back of your Mind
usa.gif

Forums Moderator
Forums Moderator

1.53 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Site Admin
Site Admin
Joined: Sep 22, 2007
Last Visit: 10 Feb 2012
Posts: 2459
Points: 128882 

Post Re: Mouse hover topic mod help Posted: Mon Jul 06, 2009 3:43 am

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke · Clan Roster 2.0 ·  · Modern Warfare 3 Xtreme Theme

if you just want it called only for a theme, or the forums. Open up the

/public_html/themes/YOUR_THEME/forums/overall_header.tpl

there should be a line as follows:

Code:
</head>


Just place

Code:
<script type="text/javascript" language="JavaScript" src="./includes/boxover/boxover.js">


before the </head>.

but there is no need for a "custom header".

I am taking this Quote right from the "custom_head.php" from Nuke Evo.

Quote:
/*

This file is to customize whatever stuff you need to include in your site

when the header loads. This can be used for third party banners, custom

javascript, popup windows, etc. With this file you don't need to edit

system code each time you upgrade to a new version. Just remember, in case

you add code here to not overwrite this file when updating!

Whatever you put here will be between <head> and </head> tags.

*/


It will load where ever the header.php is called, so it really does not make much of a difference either way.

Last edited by DreAdeDcoRpSE on Mon Jul 06, 2009 4:28 pm; edited 1 time in total
 

 
View user's profileSend private messageVisit poster's website Reply with quote

clyde4210
Reputation: 395.3 Add RepSubtract Rep
Local time: 11:48 PM

blank.gif

OMG
OMG

0.11 posts per day
Medals: 0

Joined: Oct 24, 2007
Last Visit: 24 Jul 2009
Posts: 167
Points: 7534 

Post Mouse hover topic mod help Posted: Mon Jul 06, 2009 3:28 pm

true but, now i think about it. he should just use the one below as it will work better.

if you run into that it is transparent when viewing. go ahead and open your css and slightly change the input color a bit. basically you're looking for background-image: url in your css that relates to the forum posting area and changing its color a bit.

could be
/* Main table cell colours and backgrounds */

Mouse_Hover_First_Post_1.0.1.zip
 Description:
mouse hover

Download
 Filename:  Mouse_Hover_First_Post_1.0.1.zip
 Filesize:  2.67 KB
 Downloaded:  4 Time(s)

 

 
View user's profileSend private messageVisit poster's website Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Hacks n Mods


 
8 Replies / 897 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
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 cannot attach files in this forum
You can download files in this forum