Advertisement:

Author Topic: Top anchor after each post.  (Read 21429 times)

Offline rakuli

  • Jr. Member
  • **
  • Posts: 325
  • Gender: Male
    • Turn over a playful leaf on web design
Top anchor after each post.
« on: March 30, 2005, 06:31:41 AM »
Hi,
I am pretty sure someone would have done this before but I think it makes it a tad easier to navigate the forum.

in display.template.php I found
Code: [Select]
// Show the post itself, finally!
echo '
</td>
       </tr></table>
<hr width="100%" size="1" class="hrcolor" />', $message['body'],  '
</td>
</tr>';
And added
Code: [Select]
<br /><br /><a href="#">Top</a>after
$message['body'].
It just adds a nice simple anchor to the top after each post. My forum has max 15 posts per page and if they are long posts it can take a bit of scrolling to get to the buttons on the forum.

Hope someone finds it useful.  :D

Offline husmen73 (Gulhin)

  • SMF Hero
  • ******
  • Posts: 3,687
  • Gender: Male
  • Bana ulaşmak için lütfen e-posta gönderin.
    • Gülhin İnternet
Re: Top anchor after each post.
« Reply #1 on: May 24, 2006, 11:30:26 AM »
image???


Thanks ;)
-Kurumsal Kimlik Web Tasarım Hizmeti.
Gülhin Portal Sistemi hakkında yorumlarınızı bekliyorum.
SMF
Referanslar --> http://www.gulhin.com/referanslar-portfoy/
-Web Tasarımı ve Tema Tasarımı Sitesi www.gulhin.com
-TOPLU MAİL GÖNDERİMİ --> http://www.toplumailsms.com
E-Ticaret Sistemi yaptırmak mı istiyorsunuz?

Offline Vinspire

  • Sr. Member
  • ****
  • Posts: 852
  • Gender: Male
    • The Box Of Heart Forum
Re: Top anchor after each post.
« Reply #2 on: May 27, 2006, 03:06:09 AM »

Offline nitecrawler

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
  • I Love SMF, but need few more custom mods.
    • A+ Forwards
Re: Top anchor after each post.
« Reply #3 on: May 28, 2006, 03:11:03 AM »
nice one. Thanks. :)

Offline rakuli

  • Jr. Member
  • **
  • Posts: 325
  • Gender: Male
    • Turn over a playful leaf on web design
Re: Top anchor after each post.
« Reply #4 on: June 16, 2006, 09:26:48 AM »
Image??

I'm not sure what you mean. You want a screenshot?

Offline nitecrawler

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
  • I Love SMF, but need few more custom mods.
    • A+ Forwards
Re: Top anchor after each post.
« Reply #5 on: June 19, 2006, 08:21:59 AM »
Maybe they meant an icon similar to that showing various messenger IDs, email, website etc instead of a textual top link. Not sure!

Offline onijin

  • Jr. Member
  • **
  • Posts: 132
  • Gender: Male
    • Forgotten Garden
Re: Top anchor after each post.
« Reply #6 on: June 21, 2006, 09:33:17 AM »
works great~

however, I changed the location to under the post date and changed the "#" to "#top"


thanx for this tid bit.  Never thought of it.

Offline Jade Elizabeth

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,629
  • Gender: Female
  • Keep your enemies close and your friends closer ;)
    • jadetrainor on LinkedIn
    • @alundra on Twitter
    • Jades-World
Re: Top anchor after each post.
« Reply #7 on: November 04, 2007, 01:59:17 AM »
how can i make this work with 1.1.4? cause i did try it but it doesnt work, and i played with it for a bit but it still wont work :(
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring forum: Color Me Forum/Patreon.