phpBBHacks.com - Add a link to new topics
Get Photoshop help and share your work at PhotoshopForums.com
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Template and Design Support
 See a User Guidelines violation? Please contact us.
Author Message

GanjaGirl
New User

Joined: 25 Feb 2009
Posts: 2

PostPosted: February 25th 2009, 5:13 pm    Post subject: Add a link to new topics Reply with quote

I am trying to add a link to an external site that will appear in each new topic automatically. I've tried editing both the viewtopic_body.tpl and the viewtopic.tpl files, but can't seem to figure out where to place it to get it to work correctly.

It's just a simple text link like <a href="http://phpbbhacks.com">Visit phpBBHacks.com</a>

Thanks for your help in advance.
Back to top
View user's profile Send private message

lumpy burgertushie
Dedicated User

Joined: 05 Apr 2008
Posts: 589

PostPosted: February 27th 2009, 8:44 am    Post subject: Reply with quote

this would have to be done in posting.php and/or posting_body.tpl

I have not tried it to see exactly how or where.

roberrt
_________________
here is my sig file.......
Back to top
View user's profile Send private message

JemsRoker
New User

Joined: 17 Mar 2010
Posts: 12
Location: Bangle of India

PostPosted: March 21st 2010, 12:22 am    Post subject: Reply with quote

We can do this from our profile page and in edit option. Thanks
Back to top
View user's profile Send private message Send e-mail

Patrick
Admin/Webmaster

Joined: 11 May 2001
Posts: 17279
Location: Harbinger, NC, U.S.A.

PostPosted: March 22nd 2010, 2:53 pm    Post subject: Reply with quote

The member was actually looking to add a static link to the first post in all new topics, I believe, as opposed to a profile or homepage link.

Thanks,

Patrick
_________________
Patrick O'Keefe - phpBBHacks.com Administrator - Feedback? Questions? Please Contact Me!
User Guidelines - Featured phpBB - Featured Author - phpBBHacks.com Awards - Supported Sites - About Us
Author, Managing Online Forums - A Practical Guide to Community Management
phpBB 3 Tutorials: Add Hacks | Clear Your Cache | Fix Missing Images | phpBB 3 Permissions Guide
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Dogs and Things
Well Known User

Joined: 11 Sep 2006
Posts: 189

PostPosted: March 22nd 2010, 3:43 pm    Post subject: Reply with quote

That's what I understand too,

Posting Template Hack might be an option, have a look at it.

Or else you could make a hidden input field in the posting form in posting_body.tpl that includes the url you want in the posted message.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Template and Design Support All times are GMT - 6 Hours
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



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.