TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 03:03:23 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 46
  • Total: 46

Multi-Functional Posts and Topics Snippet [Version 3.0 out!]

Started by Megaforum, October 14, 2007, 05:08:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dragooon


RSprinkel

Dragooon,

Awesome little piece of code here.  I am wondering if there is any way to shrink the actual block down some?  I tried editing the Number of characters for each of the Subject line and body length and that doesn't seem to work.

Any help on this would be greatly appreciated.

Thanks much in advance for the help and this snippet.

Ron S.

RSprinkel


slackerpunk

is it fixed width? reason I asked is because I want to use this on a center block

Dragooon


monotiz

Hi, I try to test the snippet but obtain:

Fatal error: Call to undefined function postsTopicsSnippet() in /home/hosting/drz-italia.com/smf/Sources/Load.php(1747) : eval()'d code(35) : eval()'d code on line 1


monotiz


alving

Quote from: Dragooon on February 12, 2008, 07:41:30 AM
Meh My bad :P, I forgot to check this post
In PostsTopicsSnippet.php find :
echo $i['message']['link'];
And try replacing it with
echo '<div style="font-size:13px;">',$i['message']['link'],'</div>';
This is untested, but I think it should work.

Hi Dragoon,

very nice piece of code.  just what i needed.  a question though regarding the font size, is there a way that the font size will be the same as that of the other contents in my webpage?  it seems quite small.  the other pieces of codes that i used in my webpage, has the same font size though coming from different authors. 

alving

Quote from: panesarv on February 14, 2008, 02:14:27 AM
Ok one last thing....How can I make the title of the topic bold?

Edit: Got it. Thanks. Great Snippet. :D
hi panesarv,

how did you make the title of the topic bold?  thanks in advance