UBB.Dev
Posted By: Sn0pD0gG [6.3.x] [beta] hidden forum hack - 06/23/2002 8:37 PM
not much to say about, this hack adds the option to hide specefic private forums.

I took easy's hack and modified it.

download: http://www.swaafxp.com/scripts/hack_download.php

everything else is written down in the text file

have fun [END]
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 1:19 AM
This hack had tons of issues and never really worked 100 percent. Anybody willing to take the plunge to see if this one works?
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 3:55 AM
Well im no expert but maybe ill give it a try lol

Also if i post something here and say a file is missing and it does exist... its just my stupidity... ill check after im all done smile
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 4:02 AM
##############################
# open public_move_topic.cgi #
##############################

First off i think it should be .pl and there are no instructions with it...
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 4:12 AM
UBB_LIB.CGI
#########
#find : #
#########

if ($this_forum[6] =~ m/private/) {

################
# replace with #
################

if (($this_forum[6] =~ m/private/) || ($this_forum[6] =~ m/hidden/)) {

Cant seem to find that
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 4:25 AM
Found
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 4:29 AM
UBB NEW REPLY

#########
#find : #
#########

# check to make sure user has access/permission to post!
if (($permission =~ m/private/) || ($reply_restrict =~ m/restrict/)) {

################
# replace with #
################

# check to make sure user has access/permission to post and is not going to see if forum exists (coz hidden)
if ($permission =~ m/hidden/) {
&check_private_access($in{f}, $this_forum[12], 'hidden');
}

# check to make sure user has access/permission to post!
if (($permission =~ m/private/) || ($reply_restrict =~ m/restrict/)) {
&check_private_access($in{f}, $this_forum[12]);
}

Shouldnt this be

########
#find : #
#########

# check to make sure user has access/permission to post!
if (($permission =~ m/private/) || ($reply_restrict =~ m/restrict/)) {
&check_private_access($in{f}, $this_forum[12]);
}

################
# replace with #
################

# check to make sure user has access/permission to post and is not going to see if forum exists (coz hidden)
if ($permission =~ m/hidden/) {
&check_private_access($in{f}, $this_forum[12], 'hidden');
}

# check to make sure user has access/permission to post!
if (($permission =~ m/private/) || ($reply_restrict =~ m/restrict/)) {
&check_private_access($in{f}, $this_forum[12]);
}
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 4:31 AM
Found - BTW I would delete my posts if i could
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 4:43 AM
Found
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 4:44 AM
Found
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 4:47 AM
Finally found this one lol
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 5:26 AM
home/zophcom/public_html/cgi-bin/cp_forums.cgi: syntax error at /home/zophcom/public_html/cgi-bin/cp_forums.cgi line 1047, near "} else"

I get that when i try to see the forum settings in the CP
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 5:34 AM
Never Mind... Rehacked it and everything seems to be working.. i made a mistake before.. I am now trying to see if hidden works properly
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 5:37 AM
So far.. Works like a charm smile
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 5:39 AM
Great Job sn0p and Great Job e@sy. I'm sure anyone can install this hack laugh
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 6:23 AM
Sorry, UBB has encountered an unexpected, fatal error. This error is extremely abnormal. Please contact the board administration. The error text is:

Can't open '/home/zophcom/public_html/ubb/cache-VVTCS2XN/ubb_files/forum_page/Forum21/private-9VZ7RP37/forum21-1000.cgi'.

I was unable to find that file or directory. Please check the paths.

The exact error returned by the operating system is:
No such file or directory

Uhoh Thats what i get when trying to access forum
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 6:57 AM
OK fixed that.... forgot to rebuild forum stat files smile

Seems to be working again... and lol ive made all but 1 of the replies on this topic laugh
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 3:02 PM
I recieved that error again this morning... I rebuilt forums stat files and it appears to be working but I'm not totally sure for how long
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 6:43 PM
This hack has never been error free that I know of. Search the 6.1 and 6.2 beta forums and you'll see the threads that had the problems that never seemed to go away.
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 7:57 PM
Yah I know.. lol .. Also when i give someone permission to view the hidden forum they cant see it... it may have to do with the file that had no instructions for it...
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 9:40 PM
Seems like most of the UBBDev Haxxor's are avoiding this thread smile Even LK...
Posted By: AllenAyres Re: [6.3.x] [beta] hidden forum hack - 06/24/2002 10:19 PM
I think easy may have done some work on it recently, I do know it caused some problems when it came to upgrading the forum a while back.
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/25/2002 12:06 AM
Wasnt that with whos online?
Posted By: Lord Dexter Re: [6.3.x] [beta] hidden forum hack - 06/25/2002 9:07 AM
My god you replied to a whole page. eek

And the only person who can save this hack is...LK tipsy
Posted By: LK Re: [6.3.x] [beta] hidden forum hack - 06/25/2002 9:49 AM
Yes, I am avoiding this thread. tipsy if you want it to work well, it has to have a total rewrite.
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/25/2002 3:03 PM
Do you plan on doing a total rewrite?
Posted By: LK Re: [6.3.x] [beta] hidden forum hack - 06/25/2002 3:08 PM
No, I hate this hack tipsy
Posted By: Lord Dexter Re: [6.3.x] [beta] hidden forum hack - 06/25/2002 3:15 PM
Well then it's hopeless.

*Calls for someone else* tipsy
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 06/25/2002 7:40 PM
Yup smile If LK wont fix it who will? The hack author e@sy hasnt been around and the other guy who posted this hasnt replied... i guess if no one is gonna fix it ill just revert to my backup...
Posted By: Lord Dexter Re: [6.3.x] [beta] hidden forum hack - 06/26/2002 2:42 AM
I saw e@sy online yesterday. Maybe he can still do it.
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 06/26/2002 3:29 AM
I use the old fashioned way, I have 2 licenses and two UBBs running. One is members access only and the URL is very obscure so noone knows it's there unless they have access. If someone else finds it they can't see anything unless they register and I have to approve them....
Posted By: Paulus Magnus Re: [6.3.x] [beta] hidden forum hack - 06/26/2002 1:48 PM
What's the difference between this hack and LK's Extended Category hack thats got hidden forum abilities within it?
Posted By: LK Re: [6.3.x] [beta] hidden forum hack - 06/26/2002 1:59 PM
Extended Category hack hides a CATEGORY, and the user can see it in ?category=X, so it only hides it from main forum summary.
Posted By: e@sy Re: [6.3.x] [beta] hidden forum hack - 06/26/2002 9:44 PM
I have rewrite the hack.

The user asked me if i have a version for 6.3 and my time is very short. So he want to convert this hack for 6.0 to 6.3. I told him to send the new Hack to me before posting here to test it. But he open a topic here before i said yes. So i do not know about the error's. In the last 3 day's i make a rehack of this one. Here is the link

http://ubbdev.de/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=3;t=000004
Posted By: AllenAyres Re: [6.3.x] [beta] hidden forum hack - 06/26/2002 11:01 PM
danke e@sy smile
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 06/26/2002 11:35 PM
quote:
Originally posted by AllenAyres:
danke e@sy smile

thumbsup
Posted By: e@sy Re: [6.3.x] [beta] hidden forum hack - 06/29/2002 10:21 AM
Little error in Who is Online fix. Zip files are updated.
Posted By: Lord Dexter Re: [6.3.x] [beta] hidden forum hack - 06/29/2002 2:23 PM
Nice work e@sy. smile
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 06/29/2002 3:54 PM
Can anyone testify to the functionality of this hack with the new changes?
Posted By: anon89 Re: [6.3.x] [beta] hidden forum hack - 06/30/2002 3:43 PM
.
Posted By: LK Re: [6.3.x] [beta] hidden forum hack - 06/30/2002 3:52 PM
quote:
Originally posted by e@sy:
I have rewrite the hack.

The user asked me if i have a version for 6.3 and my time is very short. So he want to convert this hack for 6.0 to 6.3. I told him to send the new Hack to me before posting here to test it. But he open a topic here before i said yes. So i do not know about the error's. In the last 3 day's i make a rehack of this one. Here is the link

http://ubbdev.de/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=3;t=000004

Gotta love quick reply with quote laugh
Posted By: vLIMIT Sandman Re: [6.3.x] [beta] hidden forum hack - 07/10/2002 10:59 AM
thankies a ton, private forums hidden. yeah LK its a wonder eh?
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 07/10/2002 11:08 PM
Ill give it a go later e@sy... Thanks a lot man smile
Posted By: Dennis Jones Re: [6.3.x] [beta] hidden forum hack - 07/10/2002 11:24 PM
Why dont you just turn off category for a forum?
You can still get in there and post btw as long as you remember the URL.
Posted By: Josh Chapman Re: [6.3.x] [beta] hidden forum hack - 07/11/2002 7:21 PM
thats what LK's hack does
Posted By: Dennis Jones Re: [6.3.x] [beta] hidden forum hack - 07/11/2002 7:30 PM
Then why use a hack? smile
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 07/11/2002 9:27 PM
quote:
Originally posted by Dennis Jones:
Then why use a hack? smile

This hack hides the forum from people that aren't allowed in it but the members with access see it on the summary page like any other. I happen to think that's pretty slick.
Posted By: Dennis Jones Re: [6.3.x] [beta] hidden forum hack - 07/12/2002 12:47 AM
Oh I thought it just takes it off the listing.
Ooops my mistake.
Posted By: stubbsy Re: [6.3.x] [beta] hidden forum hack - 07/22/2002 8:53 PM
thanks for this hack smile

been looking forward to this smile
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 07/22/2002 10:09 PM
Okay, I just finished hacking the files it works great on my test server. When the instructions say add behind, they mean add after.

It works great!
Posted By: LK Re: [6.3.x] [beta] hidden forum hack - 07/22/2002 10:25 PM
[code][/code]What it means, is that if the user can access ANY special forum, he can see this forum. You should make a check if there is THIS forum.
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 07/22/2002 10:30 PM
I have a test user at my test board that has access to two private forums and he can't see the hidden forum. What am I looking for LK?
Posted By: PrimeTime Re: [6.3.x] [beta] hidden forum hack - 07/22/2002 10:59 PM
Clarification LK...Are you strictly speaking of private or hidden forums? Examples:

A: You have 2 private forums. You give a user access to private forum A but not B. With this code you posted the user will be able to see both private forums A & B?

OR

B: You have 2 hidden forums. You give a user access to hidden forum A but not B. The code you posted the user will be able to see both hidden forums A & B?

I'm assuming you are speaking of "Hidden" forums strictly.
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 07/23/2002 12:22 AM
One thing I just noticed is that the forum and threads show up in the PNTF under "most popular topics within the past 30 minutes:" even if I'm logged out.
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 07/23/2002 1:05 AM
Okay, this fixed it;

ubb_pntf.cgi

find this twice;

if( (&GetForumRecord($in{f}))[6] =~ m/private/ ) {

replace it with;

if( ((&GetForumRecord($in{f}))[6] =~ m/private/ ) || (&GetForumRecord($in{f}))[6] =~ m/hidden/ ) {

public_pntf_summary.pl

find this;

if(($vars_forums{$number}->[6] =~ m/private/) || ($vars_forums{$number}->[3] ne 'On')) {

Replace it with;

if(($vars_forums{$number}->[6] =~ m/private/) || ($vars_forums{$number}->[6] =~ m/hidden/) || ($vars_forums{$number}->[3] ne 'On')) {

Find;

if((&GetForumRecord($number))[6] =~ m/private/) {

Replace that with;

if( ((&GetForumRecord($number))[6] =~ m/private/) || (&GetForumRecord($number))[6] =~ m/hidden/) {
Posted By: PrimeTime Re: [6.3.x] [beta] hidden forum hack - 07/23/2002 1:08 AM
Right on X! thumbsup
Posted By: RandyM Re: [6.3.x] [beta] hidden forum hack - 07/23/2002 1:13 AM
I would like e@sy or LK to look at it and make sure that I didn't miss anything if they could.

Edit: apparently you can't move threads to the hidden forums.
Posted By: PrimeTime Re: [6.3.x] [beta] hidden forum hack - 07/24/2002 2:23 AM
Hmm...I guess just one of the drawbacks. Thks X for testing it. I still think this hack is a must have. thumbsup
Posted By: PrimeTime Re: [6.3.x] [beta] hidden forum hack - 07/24/2002 2:33 PM
I just installed this (which has got to be the most time consuming hack thumbsup
Posted By: stubbsy Re: [6.3.x] [beta] hidden forum hack - 08/07/2002 5:31 PM
One prob I've had is that the hidden forums keep disappearing.

when i go view my PM's or goto recent visitors, when i click to go back to the front page the forums are gone.

The only way i can get them back is to open a new window and log back in.

Any ideas?

tia

stubbsy
Posted By: Hexe Re: [6.3.x] [beta] hidden forum hack - 09/09/2002 9:36 PM
sorry, link doesn´t work frown
Posted By: Stamoulis Re: [6.3.x] [beta] hidden forum hack - 09/14/2002 7:10 PM
yup link is dead, please fix wink
Posted By: e@sy Re: [6.3.x] [beta] hidden forum hack - 09/16/2002 9:15 PM
The link work\'s
Posted By: WhiteBlade Re: [6.3.x] [beta] hidden forum hack - 09/19/2002 4:48 AM
Thanks E@sy
Posted By: ShadowChaser Re: [6.3.x] [beta] hidden forum hack - 10/02/2002 6:41 AM
Anyone else that's running this having a problem with the hidden forums "disappearing" for users who have permissions to access them?

I login, the forums are there. I close my browser session, open a new browser session and go to the forums. I'm still logged in, but my hidden forums are no longer visible to me. The only way I can seem to get them back is to go into my Control Panel and clear the forum cache.

I wondering if this might have anything to do with my using UBB Accelerator. When I installed the mod, I went over it 3 times with a fine-toothed comb just to be sure I got it all right, so I'm damn confident that it's not something I overlooked. However, I suppose that's not impossible either. wink

I'm running 6.3.0.1 and installed the mod from e@sy's page for this version of UBB.

http://vvvcentral.com/forums

Edit: I just disabled UBB Accelerator for testing purposes. I want to see if this problem continues without its use.
Posted By: Archaon Re: [6.3.x] [beta] hidden forum hack - 10/02/2002 5:55 PM
mmmmm.. doesn't work anymore
Posted By: ShadowChaser Re: [6.3.x] [beta] hidden forum hack - 10/02/2002 7:54 PM
Quote
quote:
Originally posted by Archaon:
mmmmm.. doesn't work anymore
My DNS changed. It's back up now.
Posted By: ShadowChaser Re: [6.3.x] [beta] hidden forum hack - 10/02/2002 11:02 PM
Okay - it's not the UBB Accelrator in and of itself. I disabled (as mentioned above) and people are still having trouble with the forums disappearing.

I've disabled caching to see if that has anything to do with it. Does anyone have any ideas at all?
Posted By: ShadowChaser Re: [6.3.x] [beta] hidden forum hack - 10/03/2002 4:31 AM
Seems to work fine with caching disabled.

I don't have the first idea on how to rectify this.
Posted By: ShadowChaser Re: [6.3.x] [beta] hidden forum hack - 10/06/2002 5:45 AM
^bump^
Posted By: Baby_D Re: [6.3.x] [beta] hidden forum hack - 02/11/2003 4:43 AM
Hi...

i've installed this hack... but now i've got a problem... i cant move any topic becauce in the drop down menu my board dont show me my hidden Forums... and my function "Show Print Version" says me "This Topic is not exist..." .... and the Drop Down menu in puplic_forum "Go To Forum:" dont shows me the Hidden Forums.... can anybody helps me? .... thanx alot...

Baby Death
Posted By: PrimeTime Re: [6.3.x] [beta] hidden forum hack - 02/11/2003 6:07 AM
Because the forum is hidden think of it as an invisible forum, one that doesn't exist. If the forums show up in the drop down search or move option users who do not have access to the hidden forums will know they exist.

I think however that you can go into your CP and move the topics under Maintanence. In there you should be able to see every forum created. I think you can also take out the Search and drop down codes from the Hidden Forum hack so that your users can see the forums.
Posted By: Baby_D Re: [6.3.x] [beta] hidden forum hack - 02/20/2003 12:32 PM
Hi...

@PrimeTime... thanx alot... i will test it...

Baby Death
Posted By: PrimeTime Re: [6.3.x] [beta] hidden forum hack - 02/20/2003 1:33 PM
Hope it works for you...It did for 6.3.1.1 and up. : smile :
Posted By: Dino Re: [6.3.x] [beta] hidden forum hack - 02/21/2003 4:18 PM
I think this is one of the most useful hacks made. I'm surprised that people aren't all over it. PHPBB and other PHP boards offer hidden topics right out of the box.

All links don't work. Is there anywhere else that this script is available?

Will Infopop ever offer this as an out-of-the-box feature?
Posted By: e@sy Re: [6.3.x] [beta] hidden forum hack - 02/21/2003 4:56 PM
This is the link


http://ubbdev.de/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=forum;f=2
Posted By: Dino Re: [6.3.x] [beta] hidden forum hack - 02/21/2003 8:01 PM
Thanks!
Posted By: BUZN_WILDLY Re: [6.3.x] [beta] hidden forum hack - 06/22/2003 1:14 AM
OHHH nooo... I can't read the BBS, where the Hidden Form Hack is... http://www.fachinformatiker-world.de/forums/
Can someone help me?

Thank-You thumbsup

BUZN_WILDLY
Posted By: AllenAyres Re: [6.3.x] [beta] hidden forum hack - 06/24/2003 1:09 AM
it's hidden tipsy
Posted By: BUZN_WILDLY Re: [6.3.x] [beta] hidden forum hack - 06/24/2003 4:02 PM
Whaa haa haa.. your telling me!
I can't find it... tipsy
STill looking for the hack though... laugh
Posted By: havoq Re: [6.3.x] [beta] hidden forum hack - 08/05/2003 1:41 AM
I need it too!!
Posted By: havoq Re: [6.3.x] [beta] hidden forum hack - 08/20/2003 8:14 PM
Allen u got it? Ugg, I need this badly
Posted By: AllenAyres Re: [6.3.x] [beta] hidden forum hack - 08/21/2003 8:01 PM
I might have it on the pc at my old job... not sure tho. If I get a chance, I'll hunt it up if I go by there next week smile
Posted By: havoq Re: [6.3.x] [beta] hidden forum hack - 08/22/2003 9:36 PM
ok that sounds good, thanx laugh
Posted By: AllenAyres Re: [6.3.x] [beta] hidden forum hack - 08/23/2003 10:43 AM
no problem, that computer has prolly 1,000+ hacks on it and every version of ubb (including the beta releases) since maybe 5.45 smile
Posted By: BUZN_WILDLY Re: [6.3.x] [beta] hidden forum hack - 09/06/2003 1:20 AM
Hmmm... I'm still looking...
No one seems to have a link to get this
great hack...

Can someone help me out?

Thank-You
Posted By: _Cash Re: [6.3.x] [beta] hidden forum hack - 12/14/2003 10:21 PM
Does anyone still have this hack?
All links in this thread are dead.
Posted By: _Cash Re: [6.3.x] [beta] hidden forum hack - 12/16/2003 3:48 PM
Bump, anyone?
Posted By: _Cash Re: [6.3.x] [beta] hidden forum hack - 12/26/2003 3:08 PM
Hmm, seems like noone has this hack?

Would a 6.1 hack work on a 6.3.1.2 board?
Posted By: _Cash Re: [6.3.x] [beta] hidden forum hack - 01/30/2004 2:17 PM
Come on guys, anyone willing to help me? smile
Posted By: AllenAyres Re: [6.3.x] [beta] hidden forum hack - 01/31/2004 3:39 AM
I don't think it's available anymore... if it were, it's definitely not supported on a version that old. If I see it, I'll post it, but I can't promise anything.
Posted By: _Cash Re: [6.3.x] [beta] hidden forum hack - 05/15/2004 6:56 PM
Just trying to see if anyone found it after a couple of months smile
© UBB.Developers