Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support

  

 
Main Menu
 
DFG
 Home
 Join our Clan
 [HSX] Roster
 BF3 Stats
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] History
 PHP Nuke Tools
 WhoIS Lookup
 Site Map
 Write a Review
 Image Repo
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Donation
This here is a combined total of what we need to keep us going each month.

0 %

Donate

End DateApr 01
Target$50.00
Below Target$50.00
CurrencyUSD

Donators This Month
DFG
DFG DFG DFG

 
 Search our Site
 
DFG DFG
DFG DFG DFG

 
Theme Management
 
DFG


DFG
DFG DFG DFG

 
Survey
 
DFG What is your favorite game to play ATM?

WarThunder
World of Tanks
H1Z1
MechWarrior Online
ARK
WarFace
SWTOR
BattleField serier
COD Series
Diablo
Armored Warfare



Results
Polls

Votes 749
Comments: 0
DFG
DFG DFG DFG

 
Honey Pot
 
DFG
Bots in the pot!
We have [1405] bots stopped!

DFG
DFG DFG DFG

     
DFG HeadShot Extreme :: View topic - AddThis Code Around The Forum


Search for at
HeadShot Extreme Advanced Search

AddThis Code Around The Forum
Post new topic   Reply to topic   printer-friendly view   Thank Post    HeadShot Extreme Forum Index -> Nuke Blocks / Modules Support
View previous topic :: View next topic  
Author Message
PatPgtips

Blabbing Noob
Blabbing Noob





This user has donated to the clan.



  • » Show Info «


Status: PatPgtips is offline
PostPosted: Wed Nov 22, 2017 2:10 pm Post subject: Note AddThis Code Around The Forum Reply with quote

Hi

i have some code that i want to be used around the forum
i have to add this code
Quote:
<!-- Go to
Please login to see this link
Get registered or Log in
to customize your tools --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5a091028dd00bb60"></script>  


i have to add it between head and body
Expand


i know were to add this code on my splash html page but i want to add it also so it shows around the forums

is this possible i think i remember dooing this a while ago but i cant remember how

any help greatly appreciated
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE

Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.


Offline
  



  • » Show Info «


Status: coRpSE is offline
PostPosted: Thu Nov 23, 2017 10:00 am Post subject: No icon Re: AddThis Code Around The Forum Reply with quote

The closing body tag is in the public_html/footer.php .
Just do a search for the word body and put your code before it.

If you want that code to only show up when someone is in the forums, then you would code it something like this;

PHP:
global $name;
if (
$name == 'Forums')
 {
 
¬†echo '<!-- Go to www.addthis.com/dashboard to customize your tools --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-513caca04af12d8f"></script>';
 } 
 


With it written like that, it will only show on the forums and nowhere else. Once you have that in place, you would just put the rest of the code into your theme wherever your want it to show up. This is all a personal thing. At one time, we had this in our forums, and at first, it use to be attached to every post, but then I decided that I preferred it just attached to the topic and not the post, and that is all coded into your theme.

Hope this helps a little.


Expand
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
PatPgtips

Blabbing Noob
Blabbing Noob





This user has donated to the clan.



  • » Show Info «


Status: PatPgtips is offline
PostPosted: Fri Nov 24, 2017 1:45 pm Post subject: No icon Re: AddThis Code Around The Forum Reply with quote

it didnt work for me corpse

when i added it i also lost the right side blocks

some weird things were happening it also didnt show addthis either


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
[HSX]coRpSE

Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.


Offline
  



  • » Show Info «


Status: coRpSE is offline
PostPosted: Fri Nov 24, 2017 4:07 pm Post subject: No icon Re: AddThis Code Around The Forum Reply with quote

well, if you like me to take a look, then I can.
What program do you use to edit your files?


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
PatPgtips

Blabbing Noob
Blabbing Noob





This user has donated to the clan.



  • » Show Info «


Status: PatPgtips is offline
PostPosted: Sun Nov 26, 2017 6:01 am Post subject: No icon Re: AddThis Code Around The Forum Reply with quote

hi corpse

i used notepad ++ to do the edits

you still have access to my site if you want to try

no rush though i will have to remove the twitter google and facebook top right of each theme but i know were that is

this is the code i want added
Quote:
<!-- Go to
Please login to see this link
Get registered or Log in
to customize your tools --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5a091028dd00ba74"></script>


thanks

edit
meant to say i would like it so its on all pages around the forums and index thanks


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
PatPgtips

Blabbing Noob
Blabbing Noob





This user has donated to the clan.



  • » Show Info «


Status: PatPgtips is offline
PostPosted: Sun Nov 26, 2017 6:44 am Post subject: No icon Re: AddThis Code Around The Forum Reply with quote

forget this corpse

i managed to get it working

/themes/XMAS_Multi/theme.php had addthis code in it i changed it to the new code

sorry for any inconveniance i knew i seen it somewere

thanks anyways


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view   Thank Post HeadShot Extreme Forum Index ->  Nuke Blocks / Modules Support All times are UTC - 7 Hours [DST enabled]
Page 1 of 1
 


 
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 cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Shout Box through forums 26 Smiley 5035 Mon Feb 05, 2018 6:11 pm
airsteam View latest post
No new posts Putting HTML Code in the forums 6 SSmokinJoe 659 Fri Aug 19, 2016 8:43 pm
SSmokinJoe View latest post
No new posts Forums Profile Toggle 2 GuilhermeTozzi 506 Sun Apr 10, 2016 7:35 am
GuilhermeTozzi View latest post
No new posts Forums Shoutbox 8.6.0 5 FURION 1616 Sat Mar 30, 2013 5:30 am
FURION View latest post
No new posts Old Forums Archive 2 coRpSE 1304 Wed Jan 02, 2013 12:49 pm
coRpSE View latest post
 




Powered By: phpBB © 2001 - 2008 phpBB Group
SimpleBlack V2 By: killigan
© DarkForge Graphics 2008 - 2009 All Rights Reserved

Googlepage: GooglePullerPage
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme