|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Name: Category Descriptions
Description: When in category only view, it will display a description under the category name
Inspired by: https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=28;t=000936
Download: Offline
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
thanks brett 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Can you please make it compatible with ext. categories and use three empty |^|'s before? 
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
quote: Originally posted by LK: use three empty |^|'s before?
why?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Read the, umm, whole sentence please 
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
...!! Where are you talking about?! btw, i updated the file to include descriptions in extended categories.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
He said doing that will make it compatiable with "ext"
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Hmm.. can't believe i forgot about this. Finally made it compatible with the Ext. category hack. 
|
|
|
|
Joined: Oct 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Oct 2002
Posts: 16 |
Hello, i have a 6.3 UBB but i cant find the lines at my ubb_forum_summary.cgi: quote: ### If You have Extended Category installed ### ($cat_order, $cat_name, $cat_number, $Template, $HTML, $Hidden) = split (/|^|/, $cat_line);
### If You Don't have Ext. Cat. Installed ### ($cat_order, $cat_name, $cat_number) = split (/|^|/, $cat_line); thank you.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Try: ($cat_order, $cat_name, $cat_number, $template, $html, $hidden) = split (/|^|/, $cat_line);
|
|
|
|
Joined: Oct 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Oct 2002
Posts: 16 |
i only have these lines: quote:
foreach $cat_line (@cats) { ($cat_order, $cat_name, $cat_number) = split (/|^|/, $cat_line); chomp($cat_number); $forum_count = 0;
what change should i make now ?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
If you wish to install Extended Category Settings, install it before that hack if you want it, then you'll get what I pasted. If not, it's the other line - without the part of $template, $html, hidden.
|
|
|
|
Joined: Oct 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Oct 2002
Posts: 16 |
i have already installed the Extended category settings. Now, i ll have to remove this line: quote:
($cat_order, $cat_name, $cat_number) = split (/|^|/, $cat_line);
and replace it with which one? or should i add the "missing" quote: [qb]local($cat_desr); [/qb] somewhere?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Can you rehack Extended Category Settings' step for ubb_forum_summary.cgi?
|
|
|
|
Joined: Oct 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Oct 2002
Posts: 16 |
 How? :rolleyes: I installed the extented category hack using the killer multihack. ah, is there any multihack file for this hack? :rolleyes:
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Get ExtCatSettings' text file, and then rehack ubb_forum_summary.cgi  (maybe a problem with my multihack instructions?)
|
|
|
|
Joined: Oct 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Oct 2002
Posts: 16 |
BTW, is it also possible to have the total number of posts and total number of topics in the first category page besides the Total Forums in Category ?
|
|
|
|
Joined: Oct 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Oct 2002
Posts: 16 |
hmm my ubb_forum_summary (hacked by multihack) file has the following line: quote:
foreach $cat_line (@cats) { ($cat_order, $cat_name, $cat_number) = split (/|^|/, $cat_line); chomp($cat_number); $forum_count = 0;
but in the ExtCatSettings TXT, the instructions are: quote: [qb] Find: =====
($cat_order, $cat_name, $cat_number) = split (/|^|/, $cat_line);
Replace with: =============
($cat_order, $cat_name, $cat_number, $template, $html, $hidden) = split (/|^|/, $cat_line); next if $hidden eq 'yes'; [/qb]
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
That's why you should re-hack it 
|
|
|
|
Joined: Oct 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Oct 2002
Posts: 16 |
yes man! i did and works! wow thanks!
BTW, is it also possible to have the total number of posts and total number of topics in the first category page besides the Total Forums in Category ?
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|