Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Aug 2001
Posts: 68
Member
Member
Offline
Joined: Aug 2001
Posts: 68
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]

Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
This hack had tons of issues and never really worked 100 percent. Anybody willing to take the plunge to see if this one works?

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
##############################
# open public_move_topic.cgi #
##############################

First off i think it should be .pl and there are no instructions with it...

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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

Sponsored Links
Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Found

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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]);
}

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Found - BTW I would delete my posts if i could

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Found

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Found

Sponsored Links
Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Finally found this one lol

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
So far.. Works like a charm smile

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Great Job sn0p and Great Job e@sy. I'm sure anyone can install this hack laugh

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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.

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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...

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Seems like most of the UBBDev Haxxor's are avoiding this thread smile Even LK...

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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.


- Allen wavey
- What Drives You?
Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Wasnt that with whos online?

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
My god you replied to a whole page. eek

And the only person who can save this hack is...LK tipsy

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Yes, I am avoiding this thread. tipsy if you want it to work well, it has to have a total rewrite.

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
Do you plan on doing a total rewrite?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
No, I hate this hack tipsy

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Well then it's hopeless.

*Calls for someone else* tipsy

Joined: Feb 2002
Posts: 76
Member
Member
Offline
Joined: Feb 2002
Posts: 76
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...

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
I saw e@sy online yesterday. Maybe he can still do it.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
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....

Joined: Oct 2001
Posts: 114
Content Kidman
Content Kidman
Offline
Joined: Oct 2001
Posts: 114
What's the difference between this hack and LK's Extended Category hack thats got hidden forum abilities within it?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Extended Category hack hides a CATEGORY, and the user can see it in ?category=X, so it only hides it from main forum summary.

Joined: Feb 2001
Posts: 956
deutscher Member
deutscher Member
Offline
Joined: Feb 2001
Posts: 956
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

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
danke e@sy smile


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
quote:
Originally posted by AllenAyres:
danke e@sy smile

thumbsup

Joined: Feb 2001
Posts: 956
deutscher Member
deutscher Member
Offline
Joined: Feb 2001
Posts: 956
Little error in Who is Online fix. Zip files are updated.

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Nice work e@sy. smile

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Can anyone testify to the functionality of this hack with the new changes?

Joined: May 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 6
.

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)