|
|
Joined: Mar 2004
Posts: 118
Journeyman
|
Journeyman
Joined: Mar 2004
Posts: 118 |
How could I make one forum (category) ALWAYS open so that user can not toggle it to CLOSE (togglecats.php?)
Kind regards, PaNTerSan
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
In ubbthreads.php, find and replace: else {<br /> $catrow[$x]['ToggleLink'] = "<a href=\"{$config['phpurl']}/togglecats.php?Cat=$Cat&Catnum=$CatNumber\"><img border=\"0\" $imagestyle src=\"{$config['images']}/catminimize.gif\" alt=\"{$ubbt_lang['COL_ICON']}\" title=\"{$ubbt_lang['COL_ICON']}\" /></a>";<br /> } with: elseif ($CatNumber != "2") {<br /> $catrow[$x]['ToggleLink'] = "<a href=\"{$config['phpurl']}/togglecats.php?Cat=$Cat&Catnum=$CatNumber\"><img border=\"0\" $imagestyle src=\"{$config['images']}/catminimize.gif\" alt=\"{$ubbt_lang['COL_ICON']}\" title=\"{$ubbt_lang['COL_ICON']}\" /></a>";<br /> } Change the $CatNumber variable to whatever the category number is for the category that you want to be non-toggleable.
|
|
|
|
Joined: Mar 2004
Posts: 118
Journeyman
|
Journeyman
Joined: Mar 2004
Posts: 118 |
Sweet
Kind regards, PaNTerSan
|
|
|
|
Joined: Mar 2004
Posts: 118
Journeyman
|
Journeyman
Joined: Mar 2004
Posts: 118 |
Another "Category" question: On main index, for example here you have forum title ($catrow[$x]['CatTitle']), viewing?, $catrow[$x]['CatDescription'] and moderators.
So, how do I implement this $num viewing? Is there a mod?
Kind regards, PaNTerSan
|
|
|
|
Joined: Mar 2004
Posts: 118
Journeyman
|
Journeyman
Joined: Mar 2004
Posts: 118 |
[] PaNTerSan said:So, how do I implement this $num viewing? Is there a mod? [/] [] http://pages.prodigy.net/rogerlori1/emoticons/bigblush.gif[/] OK - one of my admins removed <br /><span class="small"><br /> {$forum[$c][$f]['viewing']}<br /></span> <br /> from ubbthreads.tmpl
Kind regards, PaNTerSan
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|