php forum
php mysql forum
php mysql smarty
 
Page 2 of 3 < 1 2 3 >
Topic Options
#55312 - 01/29/03 08:54 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
DAMN, Damn, damn...

I am using 6.3.1.2, and it doesn't appear that the code is setup for that! frown

Top
#55313 - 01/29/03 09:55 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Brett,

All of the necessary code was in tact for the "Individual Forum Show" hack (although it's not working), but not for the first one you displayed.

I am running 6.3.1.2, and the following code is not present...

[code][/code]Any suggestions..?

Top
#55314 - 01/29/03 04:00 PM Re: Selected Category Display?
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
tgreene: for that piece of code do this:
Quote:
quote:
########################################################
###Open ubb_forum_summary.cgi
########################################################

########
# find #
########

#we don't want to add one as it would be with the others
} else {
$ColSpan++;
}

#############
# add below #
#############

local(@CatFile, %CachedWatch) = ();
if(!$in{category}) {
@CatFile = &GetCategoriesFile;
} # end if
I haven't tested this on 6.3.1.2, but it probably will work.

PrimeTime: when i get back from work tonight, i'm gonna do a clean reinstall and try that again. Maybe i forgot to put something in the docs. shocked

Top
#55315 - 01/29/03 04:37 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
NP Brett. I'll re-hack it now. I just appreciate you're taking the time with this. thumbsup

I'll let you know how it goes...
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55316 - 01/29/03 06:22 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
I've been messing with it for a while and still coming up short with the "selected forum". While I'm not positive, I think the problem lies somewhere in the cp_forums.cgi file. For some reason when I selected either "yes" or "no" in CP the codes did not recognize the change in value...Even after I cleared the cache.

I hope that information helped. I'll keep trying though. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55317 - 01/29/03 06:24 PM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Still nothing... frown

I guess the big question is, are you feeling up to the chalenge, and if not, what would it take to get you there..?

Top
#55318 - 01/29/03 07:09 PM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
I just got the "Show Forums" to work, but the "Hide Individual Forums" will not... No biggie though!

Next question -- is there any way possible to seperate the category sections, so that each are spaced apart about one
..? This would be very handy where I have a few categories collapsed at the bottom of my Forum Summary page.

FWIW: I fully realize the depth of my painintheassedness! wink

Top
#55319 - 01/29/03 07:58 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Quote:
quote:
Originally posted by tgreene:


Next question -- is there any way possible to seperate the category sections, so that each are spaced apart about one
..? This would be very handy where I have a few categories collapsed at the bottom of my Forum Summary page.
It all depends on how you edited the public_forum_summary.pl. I'm not sure if this will work but for a simple solution find:

Code:
[/code]and after add:

[code]
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55320 - 01/30/03 12:28 AM Re: Selected Category Display?
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Oh man, found the error. And what a stupid one it was. (double) shocked I made it look at $thisforum[18], when it should have been looking at $thisforum[19].

I just tested everything out, three times just to make sure, on a hack free 6.3.1.2. ( http://ivegeta.com/cgi-bin/ubbcgi/ultimatebb.cgi ) Which should be backwards compatible with 6.4.0.1. I THINK.

The file has some needed modification to cp_forums.cgi, that should be done or else you'll lose your changes of previous forums.

Download: Doc Install

Sorry again. Proves that you shouldn't rush these kind of things. wink

EDIT: tgreene, are you referring to the first mod i posted? I was able to install that, incorporating the change i post above on the first try.(as you can see on my 6.3.1.2 test board) confused

Top
#55321 - 01/30/03 02:24 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hehe...NP Brett. I focused on $thisforum[18] as well but changed it anywhere from 0 - 8. Ahh...

I'm going to whip out my 6.4 now and re-hack this baby. I'll be back shortly and let you know how it went. laugh
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55322 - 01/30/03 02:54 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hey Brett!...Thank you for sticking this through. You're an honorary clan member now. laugh

Ohh...Before I forget just one adjustment...And this will probably hit you pretty hard since it's the error you've mentioned on your last post. LOL.

On your hack where it says in ubb_forum_summary.cgi find:

Code:
[/code]Your code still points to (18):

 [code]
When I changed it to:

[code][/code]it worked perfectly. thumbsup
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55323 - 01/30/03 03:03 AM Re: Selected Category Display?
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Ack! Leaving that one would have drowned the hack. Thanks and hopefully no further problems will arise. (It shouldn't) But i'm glad to hear it works. smile

Thanks, again! laugh

Top
#55324 - 01/30/03 04:12 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Possibly both of the hacks should hit the 6.4 Final. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55325 - 01/30/03 09:13 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Brett,

I just attempted to re-install the "Ind Forums Hack", but the same thing happened, as well as nullifying the "Show Forums" hack... I'm back to using the show forums only.

--------

Primetime,

Thanks for the suggestion on where to place the
, but it was also a no-go!

Top
#55326 - 01/30/03 06:14 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Quote:
quote:
Originally posted by tgreene:
Primetime,

Thanks for the suggestion on where to place the
, but it was also a no-go!
Maybe you need to add another
. LOL. Then again I've tweaked out the public_forum_summary.pl file so I may have excluded several steps.

I can't help you with the Category Hack since I'm not running 6.3+ although looking at Brett's code should work.
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55327 - 01/31/03 08:30 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
I'm contemplating stepping up to 6.4, but I have so many hacks installed, that it would be a nightmare to get them all back into place...

Top
#55328 - 01/31/03 12:30 PM Re: Selected Category Display?
Brett Offline
Moderator

Registered: 05/04/01
Posts: 992
Loc: Twinsburg, Ohio
Hm... frown

I don't know, i don't see how it could be interfereing with any hacks, as i know none that go there. I am very sure of copying every last instruction. It is doing the settings in the forum, now i hope?

If it is setting the right ones, then it's a ubb_forum_summary problem, if not, then it's a cp_forums problem.

Top
#55329 - 02/02/03 07:35 AM Re: Selected Category Display?
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
I am able to supress complete categories, but not individual forums... Actually, this was all I was really wanting to do, but love to add other options for future use! wink

Goto www.gun-talk.com/cgi-bin/ultimatebb.cgi and see how I have the supressed forums setup at the bottom of the list.

Top
#55330 - 02/02/03 06:30 PM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Cool. Hmm...Surpressing indivdual forums should work. So far no problems on my end.
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#55331 - 02/06/03 08:39 AM Re: Selected Category Display?
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hey Brett. I just noticed that when I create a new forum or update the title of a forum the forums that were selected as "supressed" went back to default, displaying them on the forum summary. I'll try to extract the code that is for the forums add and see if that resolves the problem. I'll test it out later today and will post the update. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
Page 2 of 3 < 1 2 3 >


Moderator:  Gizmo 
Who's Online
0 registered (), 31 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks