Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Aug 2001
Posts: 68
S
Member
OP Offline
Member
S
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
R
Spotlight Winner
Offline
Spotlight Winner
R
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
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
Joined: Feb 2002
Posts: 76
Found

Joined: Feb 2002
Posts: 76
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
Joined: Feb 2002
Posts: 76
Found - BTW I would delete my posts if i could

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

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

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

Joined: Feb 2002
Posts: 76
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
Joined: Feb 2002
Posts: 76
So far.. Works like a charm smile

Joined: Feb 2002
Posts: 76
J
Member
Offline
Member
J
Joined: Feb 2002
Posts: 76
Great Job sn0p and Great Job [email protected] I'm sure anyone can install this hack laugh

Joined: Feb 2002
Posts: 76
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
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
R
Spotlight Winner
Offline
Spotlight Winner
R
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
J
Member
Offline
Member
J
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
J
Member
Offline
Member
J
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
Offline
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
J
Member
Offline
Member
J
Joined: Feb 2002
Posts: 76
Wasnt that with whos online?

Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
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
J
Member
Offline
Member
J
Joined: Feb 2002
Posts: 76
Do you plan on doing a total rewrite?

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

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

*Calls for someone else* tipsy

Joined: Feb 2002
Posts: 76
J
Member
Offline
Member
J
Joined: Feb 2002
Posts: 76
Yup smile If LK wont fix it who will? The hack author [email protected] 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
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708
I saw [email protected] online yesterday. Maybe he can still do it.

Joined: Jun 2001
Posts: 2,849
R
Spotlight Winner
Offline
Spotlight Winner
R
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
P
Content Kidman
Offline
Content Kidman
P
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
L
LK Offline
Admin / Code Breaker
Offline
Admin / Code Breaker
L
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
E
deutscher Member
Offline
deutscher Member
E
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
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 2,849
R
Spotlight Winner
Offline
Spotlight Winner
R
Joined: Jun 2001
Posts: 2,849
quote:
Originally posted by AllenAyres:
danke [email protected] smile

thumbsup

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

Joined: May 2001
Posts: 6,708
L
Member
Offline
Member
L
Joined: May 2001
Posts: 6,708

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

Joined: May 2002
Posts: 6
A
Junior Member
Offline
Junior Member
A
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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,555
Posts293,845
Members13,842
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 515
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 9
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,813
Greg Hard 4,625
Top Posters(30 Days)
Morgan 3
isaac 2
Top Likes Received
isaac 69
Gizmo 13
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20201211)
Responsive Width:

PHP: 5.4.45 Page Time: 0.129s Queries: 95 (0.052s) Memory: 3.6511 MB (Peak: 4.0430 MB) Data Comp: Zlib Server Time: 2021-05-09 12:52:57 UTC
Valid HTML 5 and Valid CSS