Welcome Guest[18.217.246.148], connected from Columbus, Ohio
[Tutorial] Adding Thread Type (Sticky)
|
Post: #1
|
|||
|
|||
[Tutorial] Adding Thread Type (Sticky)
Hello guys.
I made this tutorial to show you how to add the thread type before the post like "Poll:" (already in MyBB). The Poll is already in MyBB. When you create a poll the forum display will input the "Poll: THREAD NAME". After this tutorial you will make a sticky thread and before the name it will display "Sticky: THREAD NAME". So...lets start? =D First of all make a backup of the ./MYBB_ROOT/forumdisplay.php and inc/languages/english/global.lang.php in case you need to back to the old files. 1- Go to ./MYBB_ROOT/forumdisplay.php and search for: Code:[Highlight] if($thread['sticky'] == "1" && !$donestickysep) Below add: Code:[Highlight] if($thread['sticky']) 2- Now go to the inc/languages/english/global.lang.php and search for: Code:[Highlight] $l['poll_prefix'] = "Poll:"; Below add: Code:[Highlight] $l['sticky_prefix'] = "<strong>Sticky:</strong>"; Note: You can change the "Sticky" for whatever you want to call the sticky thread (Pinned/Stickied...). Save all files and upload. |
|||
Post: #2
|
|||
|
|||
RE: [Tutorial] Adding Thread Type (Sticky)
A nice one. Thanks for the share.
|
|||
Post: #3
|
|||
|
|||
RE: [Tutorial] Adding Thread Type (Sticky)
No problem!
Thank you. |
|||
Post: #4
|
|||
|
|||
RE: [Tutorial] Adding Thread Type (Sticky)
Nice tut, very helpful!
Thanks =D |
|||
0 member(s) viewed this thread in the last 365 days :
|
« Next Oldest | Next Newest »
|
WWWHostingServer.com
|
||||||
|
||||||
|
Possibly Related Threads... | |||||
Thread: | Author | Replies: | Views: | Last Post | |
[Tutorial] ''How to backup&restore your forum in several different ways'' | babjusi | 5 | 2,794 |
12-12-2009 02:22 PM Last Post: babjusi |
|
[Tutorial] Centering the logo. | babjusi | 1 | 1,606 |
11-29-2009 05:45 PM Last Post: babjusi |
|
|
|
|
Powered By MyBB, © 2002-2024 MyBB Group. Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes. Hosting provided by WWWHostingServer.com |