Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 May 2019, 11:50
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Where to add "Code Snippet"

I'm working with a company for monetizing my website...and I'm told to add the "code snippet" before the <body> tag.

Here are the exact instructions I received:

"Copy and paste this code snippet into your site template just before the </body> tag. This tag is at the very end of your page, probably in your footer. Once the code is installed on your site, it will start working immediately."

Question is...where do I add this "code snippet" (which vBulletin 4 template should I modify)?

And if it's important...where in that template do I add the code?

Thanks very much.
Reply With Quote
  #2  
Old 25 May 2019, 11:54
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
You have a "search in templates" function in the admincp, you can simply search for text in the templates that you're looking for.
Reply With Quote
  #3  
Old 25 May 2019, 12:55
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Thanks snakes1100. I'm a bit familiar with the search function in the AdminCP...I use it quite a bit for finding specific templates.

Maybe I'm not understanding what was suggested...I'm not sure how using the "search in templates" function will help. If I use the "search in templates" function...and use the search term "body"...all I get is very long list of individual templates.

This doesn't really help me identify which exact individual template to add the "code snippet" to.

- My first hurdle is knowing the proper vBulletin template to modify.
- My second hurdle is knowing where exactly to insert the "code snippet".

Again...maybe I'm misunderstanding what you suggested. If I did...please clarify.

Thanks
Reply With Quote
  #4  
Old 25 May 2019, 14:40
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
Place their code in the footer template at the end.
Reply With Quote
  #5  
Old 25 May 2019, 15:29
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Originally Posted by snakes1100 View Post
Place their code in the footer template at the end.
Cool...thank you sir...I'll give it a go.

Thanks
Reply With Quote
  #6  
Old 28 May 2019, 23:06
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Hey snakes1100. Wanted to let you know that I added the code snippet to the vBulletin footer template as you advised...and all indications are that it's working.

Thank you sir.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:12.

Layout Options | Width: Wide Color: