Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
#142737 02/20/2002 10:02 AM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
quote:
Originally posted by Quackie:
Never mind, I got the Control Panel working. Ok, so everything works ok. Then, how do I use the SSI call? What's SSI and how do I use it?

Thanks

It's explained in the readme. One line where you want the news table.

etc.

Sponsored Links
#142738 02/20/2002 10:21 AM
Joined: Feb 2002
Posts: 18
Junior Member
Junior Member
Offline
Joined: Feb 2002
Posts: 18
Hi Greg,
I know we have to call that <-#exec --> command but I don't know where to put it. I know that these SSI call only works in .shtml file. We don't have any .shtml file in the UBB at all. Should we create one and put this command inside? I mean how does it all work together? Can you explain alittle more.
Sorry, I am new to this SSI, please patient with me.

Thanks Greg

#142739 02/20/2002 2:08 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
This is to include news into your webpage. Put the code on your web page.

#142740 02/20/2002 5:25 PM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
"You do not have permission to access this area."

I am still getting this error, even after making your correction.

#142741 02/20/2002 6:12 PM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
Should there be a file included named "vars_ubbnews?

And is this what gets added into the template: "...cp.cgi?ubb=view_newssessions&r=$ran"

Sponsored Links
#142742 02/20/2002 7:42 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
wtf. Let me go over the zip..

#142743 02/20/2002 7:56 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
ZIP file updated with bug fixes and error checks.

#142744 02/20/2002 9:07 PM
Joined: Jun 2001
Posts: 297
Member
Member
Offline
Joined: Jun 2001
Posts: 297
Nice! I guess your hard work , if it was hard work, paid off.

#142745 02/20/2002 9:19 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
did it? Is that an experience remark? Cause it was interesting setting up this crap. its not caching it!!!! UGH! Charles?!

#142746 02/21/2002 3:59 PM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
"You do not have permission to access this area."

I am still getting this error, even after making your new correction and after putting in the new vars_ubb_news.cgi file.

Sponsored Links
#142747 02/21/2002 8:49 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Redo the cp.cgi file hacks, making sure it requires at least one file.

#142748 02/21/2002 8:54 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
First set of problems fixed. Reupload ubbnews.cgi, cp_ubbnews and redo cp_common.pl and cp.cgi carefully.

#142749 02/22/2002 7:04 AM
Joined: Apr 2001
Posts: 78
Member
Member
Offline
Joined: Apr 2001
Posts: 78
i tried the code in instal.txt but could not make it work by the code given there...instead i used this and zap! the page was there[code][/code]

#142750 02/22/2002 6:41 PM
Joined: Jun 2001
Posts: 216
Member
Member
Offline
Joined: Jun 2001
Posts: 216
Hello Greg, thanks for this hack, ive used it on 4 ubb versions now.

I am posting for a request. The date format on a standard install displays the date in a number only format (ie: 02-10-2002). I wanted to request a date which displays the month in its full-name form. (ie: February 10th, 2002).

Ive done this hack on all the prior ubbnews releases. And, its getting old smile

Here is an example of a hacked ubbnews hack, displaying a full-name date (as well as a divider): http://www.altereddestiny.net

Also, if possible, the addition of an option to add a page divider would be fantastic.

Thank you again,
--Corona

#142751 02/22/2002 7:22 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
That's slated for UBBNews 2.3.0 Beta. smile

Thanks for your kind words, if you wanna send me your code for it go ahead. smile

#142752 02/22/2002 7:38 PM
Joined: Jun 2001
Posts: 216
Member
Member
Offline
Joined: Jun 2001
Posts: 216
Bug found:

Install text doesn't mention what to do with the included vars_wordlets_mods.cgi file included. Theres also a field inside the included vars_wordlets_mod.cgi which doesn't need to exist -- key is named: mod_wordlets.

Also, minor spelling error exist in cp_ubbnews_add_newssession.pl and cp_ubbnews_edit_newssession.pl. Status is misspelled as Satus.

I'll ship ya my ubbnews files after i hack the full-name date into them.

#142753 02/22/2002 7:51 PM
Joined: Jun 2001
Posts: 216
Member
Member
Offline
Joined: Jun 2001
Posts: 216
Heres my quick and dirty way to get the month to display with a full-name.

in ubbnews.cgi:
## find:
# strip off images - DONT.
# $name_space{topic_body} =~ s/]+?>//ig;

##Add below:

($name_space{GetMonth}, $name_space{GetDate}, $name_space{GetYear}) = split(/-/, $name_space{topic_date});

my @UbbnewsMonths = ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

$name_space{topic_date} = $UbbnewsMonths[($name_space{GetMonth} -1)] . " " . $name_space{GetDate} . ", " . $name_space{GetYear};

#142754 02/23/2002 12:07 AM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
"You do not have permission to access this area."

Can someone please tell me how they got into the control panel? There are so few things to modify here, and I can't get in.

#142755 02/23/2002 12:51 AM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
I cant see reason for that... ugh..

#142756 02/23/2002 9:39 AM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
In: "use vars qw(%vars_ubbnews %vars_ubbnews_sessions);"

should this be:
"use vars qw(%vars_ubb_news %vars_ubbnews_sessions);"

When I made that change, I got in the control panel! Yeay!

#142757 02/26/2002 1:49 AM
Joined: Jun 2001
Posts: 216
Member
Member
Offline
Joined: Jun 2001
Posts: 216
bug -- when using ssi to call the news, the body text color within the news appears black, regardless of style settings. Also, body text does not follow style template text size setting.

To fix:
## in public_ubbnews.pl
## find:

$name_space->{topic_body}

## replace with:

$name_space->{topic_body}

#142758 03/10/2002 3:00 AM
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Okay ... I'm a SSI virgin. eek

Where exactly do I put the

[code][/code]Thanks. laugh


Sue
adwoff.com
#142759 03/13/2002 5:50 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
[code][/code]Thanks. laugh [/b]
Me too... eek

Also, does this automatically create a sidebar or do I have to install the sidebar first? ... Can I decide where I want this to appear?... right, left, top, bottom? ... is it on the front page only or can i have it in every forum?

#142760 03/14/2002 6:36 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
*bump*

can someone answer our question, please?

#142761 03/14/2002 8:23 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
[code][/code]... etc etc etc...

Upload to WHERE??? to the directories in ()? ... if so... can you please direct me to the vars dir?... 'cuz I don't seem to have one... however I do have a styles dir... with all of my various vars in it... or would it be cgi-bin with the rest of the various vars???

Is there anyone around to answer these questions????

#142762 03/14/2002 8:25 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
put the ssi where you want it to appear.

#142763 03/14/2002 8:26 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
quote:
Originally posted by Greg Hard:
put the ssi where you want it to appear.

So IOW... put it in the header if that's where I want it? ... under the sidebar, if that's where I want it?

#142764 03/14/2002 9:16 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Put it where you want the tables to appear...

#142765 03/14/2002 9:19 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
quote:
Originally posted by Greg Hard:
Put it where you want the tables to appear...

Ok... got this part... got everything uploaded... didn't know where to upload them to, so I just put them in the ubbnews dir... AND in the cgi-bin and templates dir... did everything the txt said... and .... NUTHIN'! ... I can get into cp and can set everything... and submit... and all that... but there is nothing anywhere on my board at all that even remotely indicates that this even exists... *please insert icon of diminutive redhead pulling her hair out*.... mad confused eek

#142766 03/14/2002 9:24 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
:rolleyes:

This hack puts news posted in a single forum YOU set on the main page of your site... There SHOULDN'T be any indication this exists if you dont add the code to your index page.

#142767 03/14/2002 9:27 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
[code][/code]... etc etc etc...

Upload to WHERE??? to the directories in ()? ... if so... can you please direct me to the vars dir?... 'cuz I don't seem to have one... however I do have a styles dir... with all of my various vars in it... or would it be cgi-bin with the rest of the various vars???

Is there anyone around to answer these questions????[/b]
vars=cgi
der

#142768 03/14/2002 9:30 PM
Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
sorry this has nothing to do with ubbnew i just wanted to ask Greg Hard what happen all the post for SwitchID did you guys find something wrong with it and took it down?

#142769 03/14/2002 9:30 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
I DID add the code to my page... and there is NO table or news or anything... I set it up to pull from forums... headlines only... yes, I put only the forum numbers seperated by spaces... I followed your installation instructions word for word... did not add anything or subtract anything... I did exactly as I was told... and I have NOTHING!... please do not patronize... I thought this place was for assistance... and learning... I didn't know that a pre-requisite was to be an expert... if I were an expert, I wouldn't need your assistance, now would I? ...

#142770 03/14/2002 9:47 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
No Kel.
Try this:


instead.
Remove the spaces if UBB added them in the above code.

#142771 03/14/2002 9:48 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
quote:
Originally posted by ClanKiller:
sorry this has nothing to do with ubbnew i just wanted to ask Greg Hard what happen all the post for SwitchID did you guys find something wrong with it and took it down?

Good question. Looking into it...

#142772 03/14/2002 10:03 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
Thank you Greg.... smile

*edit... oh forget this... it is not going to do what I want it to do... and I'm just tired of looking at code tonight... maybe tomorrow... *

#142773 03/15/2002 11:37 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
Update... still can't get this to work... I've checked all permissions, check all paths... gone to my server FAQS for support on that end... did all that they said... created the .shtml file... blahblahblah... and I get either

unable to include "ubbnews.cgi?ns_id=1" in parsed file....

or

Premature end of script headers:....

or

File does not exist: ....

or

script not found or unable to stat:....

or

Can't locate UBBCGI.pm in @INC.....

I give up...

#142774 03/16/2002 5:29 AM
Joined: Apr 2001
Posts: 12
Ed Offline
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 12
hi Greg, i have an error:

quote:
Unable to create a new configuration file: No such file or directory at /home/*****/www/pm/*******/htdocs/cgi-bin/board/cp_ubbnews.cgi line 109.


what should i do now? i have no file whos called "vars_ubbnews_$lastnumber.cgi"

so i don't know what the scripts is looking for frown

please help,
thanks a lot in advance

Ed

#142775 03/22/2002 7:54 AM
Joined: Jan 2002
Posts: 116
Member
Member
Offline
Joined: Jan 2002
Posts: 116
behold my news:

http://gknet.twistedanime.net/dump/news.shtml laugh

twice I get an:

[an error occurred while processing this directive]

In the .shtml file I added:

[code][/code]Ofcourse the first one doesn't work, that one is for .cgi files only, right? But the second one?? I thought I chmod everything OK. Also creating an news session worked perfect. Does anybody know what the problem is? thanks in advance

#142776 03/22/2002 8:02 AM
Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
it should be like this.

Code
[/code]not like this

[code]

Page 2 of 4 1 2 3 4

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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
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)