News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Hide Topic Replies

Started by tyty1234, August 22, 2009, 07:45:23 AM

Previous topic - Next topic

Martingonnella

Thanks alot.. You've been a big help!

Question, I saw it being mention in the thread somewhere about where if a gues gets the message clicks 'Register to comment', does the guest return to the same page? Was this implemented?

tyty1234

You're welcome. I was glad to help :)
It was implemented at one point, but then I removed it because it caused a color change for the link when it was in the message. I couldn't change it to red =/
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Martingonnella

Ooo..Ok Shame thought because that's quite an important part "Returning a guest to the same page" he came back from? Think your have another go on it or are you updating this soon?

tyty1234

I'll see what I can do about it :)
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Martingonnella

Nice One. I got it on Top and Bottom now..Great

I think I done it....How do I add a size to the text too?

I added:

<div class="content" style="text-align: center; color: [#0000FF]; font-family: Times New Roman">

Problem: I set it to #0000FF, which is Blue, but it goes Black instead...Not sure mate.


tyty1234

Get rid of the brackets and you'll be good lol. As for size, you set it as "font-size: [SIZE];". So it'll be like...


<div class="content" style="text-align: center; color: #0000FF; font-family: Times New Roman; font-size: [SIZE];">


Example sizes are 12 pt, 16 px, 100%.
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Martingonnella

Thanks buddy. All Sorted. Thanks alot. You've probably been one of the helpful person on this site to be honest.

Martingonnella

Is it possible to put a image each side of the text....I could make some .gif or Jpeg picture saying "Wait" or "Locked" or something. How will I go ahead and add that to the code? Thanks

tyty1234

Quote from: Martingonnella on July 30, 2011, 03:24:55 AM
Thanks buddy. All Sorted. Thanks alot. You've probably been one of the helpful person on this site to be honest.

I used to give support a lot back in 2009. Then I was busy with school and etc and found myself being away from SMF haha. I have a whole history explained on my site here. Glad I'm able to help :)

Quote from: Martingonnella on July 30, 2011, 03:27:22 AM
Is it possible to put a image each side of the text....I could make some .gif or Jpeg picture saying "Wait" or "Locked" or something. How will I go ahead and add that to the code? Thanks

You'll need to use the <img /> element. Like so...


<div class="content" style="text-align: center; color: #0000FF; font-family: Times New Roman; font-size: 12pt;"><img src="http://www.linkto.img/here/" alt="" /> ' . sprintf($txt['hideTopicReplies_notify'], $context['num_replies'], $context['num_replies'] != 1 ? $smcFunc['strtolower']($txt['replies']) : $smcFunc['strtolower']($txt['reply'])) . '</div>


And replace "http://www.linkto.img/here/" with the link to the image icon. You probably wanna find a image about 16x16 pixels in size. :)
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Martingonnella

Your one in a Million!!!! Thanks!!

Ermm...Where is the directory to change the message?

I'll leave ya alone after lol :P

Martingonnella

Yeay!!!...I done it...Got an image there too now...Now do I put it on both side of the text mate?

and the change of message too? Thanks..I'll leave ya alone now...I know your a busy guy

tyty1234

Yes it goes on both sides if that's what you want. And if you would like to change the message, you would have to change it in Modifications.english.php.
I have no problem helping you at all haha so I'm glad to help and be here when you need it :)
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Martingonnella

Both side of what?

Can you do the code thing again as it make it alot easier to understand...Nice One!! :D

tyty1234

Just like this :)


<div class="content" style="text-align: center; color: #0000FF; font-family: Times New Roman; font-size: 12pt;"><img src="http://www.linkto.img/here/" alt="" /> ' . sprintf($txt['hideTopicReplies_notify'], $context['num_replies'], $context['num_replies'] != 1 ? $smcFunc['strtolower']($txt['replies']) : $smcFunc['strtolower']($txt['reply'])) . ' <img src="http://www.linkto.img/here/" alt="" /></div>
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Martingonnella

Thank you....See you around.

Let me know when you do the "Returning a guest to the same page" Code? So all I have to do is do the manual edits.

Thanks again

Martingonnella

Hi Mate,

I finally did all the editing and it looks great.

I even added the pics...Take a look..Those are animated esclamations move left and right which make it stand out. I've had to disable the mod as this would attract many clients.

1. Could you code another option feature made available on "features and option" where it will give a similar message, but would not retrict the pages not shown..mainly give the message.

Your more then welcome to use my message font type and animated picture for your coding.

Thanks


Martingonnella

Also do you have any idea why it's given me the one I done a manul edit on and given me the default one too? How do I clean the old font type red one out...see screenshot attached/. Thanks

tyty1234

Did you do the edits to the top and bottom?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Martingonnella

Yep..worked miracles...But something happens and now I have TOP being Good and the Bottom Giving me two?

tyty1234

The only thing I can think of is that you duplicated the code on the bottom. Other than that, I'm not sure what could cause the message to appear twice on the bottom. :-\
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

Advertisement: