Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Hi guys,
I've recently done the UBBNews hack which works exactly as 'slashbb' hack for UBB5. The new hack is compatible with the caching system and is completely configurable through the CP

Here it is .

Best Regards,

[ May 15, 2001 04:36 AM: Message edited by: JB007 ]

Sponsored Links
Joined: Mar 2001
Posts: 30
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 30
Do you have a demo?

Joined: May 2001
Posts: 47
Member
Member
Offline
Joined: May 2001
Posts: 47
I'm having two problems so far. First is that it seems to be using it's own Style template. If I select the template I usually use, I receive this error:
Can't locate c:/lmalla/ubbcgi/vars_style_2.cgi at c:lmallaubbcgiubbnews.cgi line 24.

Even if I change the standard template to my current colors, it still uses a different set.

Second problem is that if I select any other forum # other than 1, I receive this error:

Unable to open thread# 000145: No such file or directory at c:lmallaubbcgiubbnews.cgi line 72.

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Thanks for your feedback DGMayor, anyway here is the fix:
1. Open ubbnews.cgi
2. Find:
Code
code:
3. Replace with:
Code
code:
4. Find:
Code
code:
5. Replace with:
Code
code:

Hop this works!

Joined: Feb 2001
Posts: 67
Member
Member
Offline
Joined: Feb 2001
Posts: 67
Demo please


What Would UBB look like with out hacks?
Sponsored Links
Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Ok, here is a screen shot:
[Linked Image]

[ May 14, 2001 02:56 PM: Message edited by: JB007 ]

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
looking good JB, and thanks for the Arabic wordlets...


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 47
Member
Member
Offline
Joined: May 2001
Posts: 47
Two other minor problems.

First, If you don't use the Posticons, it leaves a broken image in it's place. Some code should be added to check if Posticons are allowed or not (I just removed that cell of the table).

Second, it doesn't want to post the Graemlin's correctly. Pretty sure this is a UBB issue, and not a UBBNews issue, but it bugs me wink

Basically for the Graemlins, it instead of showing up at www.lmalla.com/ubb/smile.gif it just tries to display it from www.lmalla.com/smile.gif.

Other than that I'm diggin it. Only reason I have yet to switch over to it from Newspro is because I like the fact that newspro archives my news. I'm still debating whether or not I want to lose that funcionality. smile

I also did some cosmetic edits here and there. If you wanna check it out, here are some links:

My Website Using Newspro
Testing the UBBNews (with similiar ...lso has the Who's online SSI at the top)
My UBB :), which of course is linked from the main website


Anyways, the more I play with it, the more tempted I am to switch to it smile Keep up the good work!

[ May 14, 2001 03:56 PM: Message edited by: DGmayor ]

Joined: Mar 2001
Posts: 293
Member
Member
Offline
Joined: Mar 2001
Posts: 293
I fond an error in the readme in cp_lib.cgi where you have:

## Find:
elsif ($_[0] eq 'search') { $CurrentTab = qq%$vars_wordlets_cp{search_settings}%;

## Under it add:
elsif ($_[0] eq 'search') { $CurrentTab = qq%$vars_wordlets_cp{search_settings}%; }
elsif ($_[0] eq 'ubb_news') { $CurrentTab = qq%$vars_wordlets_cp{ubb_news_settings}%;

it should be:

## Find:
elsif ($_[0] eq 'search') { $CurrentTab = qq%$vars_wordlets_cp{search_settings}%;
}

## Under it add:
elsif ($_[0] eq 'search') { $CurrentTab = qq%$vars_wordlets_cp{search_settings}%; }
elsif ($_[0] eq 'ubb_news') { $CurrentTab = qq%$vars_wordlets_cp{ubb_news_settings}%; }

otherwise it causes an error when you try to load cp.cgi in your browser

Joined: Mar 2001
Posts: 293
Member
Member
Offline
Joined: Mar 2001
Posts: 293
hey is there any way i could call this into like a public_news.pl so people can see it at ultimatebb.cgi?ubb=news

Sponsored Links
Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083
heres a demo if anyone wants it:

http://www.zeldaglitches.com/SSI/main.shtml

I have done some modification to it though btw.


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
I also seen that error and corrected it.

The options will load correct in the cp.

But when calling the ubbnews.cgi I still keep getting an error 500

Joined: Mar 2001
Posts: 293
Member
Member
Offline
Joined: Mar 2001
Posts: 293
it is not working for me, it is not putting the post there. See at that url
http://www.m2sc.com/

Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083
M2sc-com

make sure ur ubbnews.cgi is pointing to the right perl address. Mine wasn't showing up either until i changed the address.


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
the icons not showing up issue is is due to the vars_config variables NonCGIPath and NonCGIURL being different. in public_ubb_news.pl the icon is represented as:
Code
code:
when it should be :
Code
code:
for those who dont have the same url path as web server path.

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
excellent work mr. bond.

any chance of more features in the future? wink wink some sort of archiving would be nice, as mentioned above. this also is one reason i am hesitant. i like to keep (have/need) old news due to the way my site is laid out.

[ May 14, 2001 09:22 PM: Message edited by: DPK ]

Joined: Mar 2001
Posts: 293
Member
Member
Offline
Joined: Mar 2001
Posts: 293
ok love it, i forgot that i have to chmod .shtml files on my new server laugh

Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
Okay do I leave the -w in there

#!/perl/bin/perl -w

Quote
quote:

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
the -w executes perl so that it scans the lines of the script for errors carefully and prints them out if it finds any. sorta for debugging, shouldnt matter if you take it off or not.

Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083
nope, or at least i didnt


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083
eh, DPK beat me to it laugh


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
Nope by putting the correct perl in there I'm getting this error now:

Can't locate /data1/va/repomann/cgi-bin/ubb/Forum1/forum_1.threads in @INC (@INC contains: /data1/va/webs4free/cgi-bin/ /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at ubbnews.cgi line 26.

Quote
quote:

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Ok guys thank you all for your feedback. I made a lot of errors in the script because I was too fast. Anyway I'll try to fix 'em all afternoon. Bye

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
Ok, I've updated the link , so go and re-download. The new release includes the fixes for the cp_lib.cgi and the template file. I've also added a check for the icons.

Best Regards,
JB007

Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
Very nice work!

Quick question. Can you set the number of characters to be displayed on your news page or does it only allow you to display the full thing?

Just wondering, I'm going to install this later today smile


jeremiah
Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
Still getting:

FYI
You are attempting to reach a page that does not exist.
» Please use your browser's back button to return.

Joined: Mar 2001
Posts: 293
Member
Member
Offline
Joined: Mar 2001
Posts: 293
where are you getting this at? the cp? you might want to rehack from clean backups

Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
great hack bond....very nice..... worked for me except the images.. like when i put in a frown like this ( frown ) it shows as a broken link.. it doesn't show the image..

Joined: Mar 2001
Posts: 293
Member
Member
Offline
Joined: Mar 2001
Posts: 293
might want to download the new version he let out, he fixed that in the latest one

Joined: Mar 2001
Posts: 149
Member
Member
Offline
Joined: Mar 2001
Posts: 149
i downloaded it like 20 minutes ago..

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
A quick solution is too add add tag into the page that's calling your script. However, you've to type the FULL url for anylink that is not in your non-cgi ubb dir.

Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
It's still now working . .

Even trying this it will not post.

(BOARD)

Quote
quote:

Joined: May 2001
Posts: 47
Member
Member
Offline
Joined: May 2001
Posts: 47
[ May 15, 2001 02:31 PM: Message edited by: DGmayor ]

Joined: Nov 2000
Posts: 169
Member
Member
Offline
Joined: Nov 2000
Posts: 169
hmm dose not work for me and the debug is not giveing me nothing ??

Executable error due to invalid characters in the file – Suggest re-upload ubbnews.cgi to server via FTP and test again. reupload like 600 times frown

[ May 15, 2001 05:16 PM: Message edited by: indoe ]


Some men live for others and make their presence known
Some men live in seclusion and choose to live alone...
Some men live for justice and walk inside the law
But of these men, the group I'm in
are the men behind the wall...
- Gato Suertudo
Joined: May 2001
Posts: 65
Member
Member
Offline
Joined: May 2001
Posts: 65
I too am having an issue where it doesn't recognize the smilies still. This is after grabbing THE LATEST version as of the time of this post.

If I use the url "http://www.hourofhavoc.com/forums/ubbnews.cgi" it sees the smilies in the "/forums/smilies" directory.

If I use ssi and go to "http://www.hourofhavoc.com/Noname1.shtml" it shows the smilies as being in the "/smilies" directory.

As you can see this is incorrect, it should be /ubb/smilies. =) Hope that helps.

Joined: Feb 2001
Posts: 16
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 16
Hey guys i converted my newscript to UBB
the colors are using my old template "need changed" but everything is controled in the cpanel
not completed yet but heres a pic..
allso heres one of many sites using this script for an example..
DEMO IN ACTION

[Linked Image]

[ May 16, 2001 02:23 AM: Message edited by: hurricane rob ]

Joined: Nov 2000
Posts: 148
Member
Member
Offline
Joined: Nov 2000
Posts: 148
Funny, I'm not getting anything when calling the SSI, still shows up with nothing posted. I would assume it's calling up the ubbnews.cgi correctly because there are no exec error listing when calling up the ssi. But if you try to call up the ubbnews.cgi this way you will get a FYI
Other then that everything else is working 110%

Looking for suggestions on different designs tables for calling SSI. If you guys have any ideas please let me know please.

Check us out!
The Wanderer's

Quote
quote:
[ May 16, 2001 02:12 AM: Message edited by: Webdaddie ]

Joined: Mar 2000
Posts: 162
Member
Member
Offline
Joined: Mar 2000
Posts: 162
The file is not a part from ultimatebb.cgi, it's called this way:
Code
code:
And about the smilies, as I said before, add a
in the SHTML page.

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
nice work !!
I will probably dump newspro now ... wink


Do you believe in love at first sight,
or should I walk by again?
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
An Idea:
Since templates are swappable, people should post some of the neat formats they make for their news up here so other people can just download and 'drop' them in.
as Cal would say 'Just a thought :)'

[ May 16, 2001 07:22 AM: Message edited by: freakscene ]


jeremiah
Page 1 of 5 1 2 3 4 5

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,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
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)