php forum
php mysql forum
php mysql smarty
 
Page 3 of 11 < 1 2 3 4 5 ... 10 11 >
Topic Options
#151350 - 02/20/02 09:02 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">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
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">It's explained in the readme. One line where you want the news table. <!--#exec cgi="/cgi/ubbnews.cgi" -->

etc.

Top
#151351 - 02/20/02 09:21 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Quackie Offline
Junior Member

Registered: 02/12/02
Posts: 13
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

Top
#151352 - 02/20/02 01:08 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
This is to include news into your webpage. Put the code on your web page.

Top
#151353 - 02/20/02 04:25 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
"You do not have permission to access this area."

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

Top
#151354 - 02/20/02 05:12 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
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"

Top
#151355 - 02/20/02 06:42 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
wtf. Let me go over the zip..

Top
#151356 - 02/20/02 06:56 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
ZIP file updated with bug fixes and error checks.

Top
#151357 - 02/20/02 08:07 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Telekinesis Offline
Member

Registered: 06/02/01
Posts: 285
Loc: Florida
Nice! I guess your hard work , if it was hard work, paid off.

Top
#151358 - 02/20/02 08:19 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
did it? Is that an experience remark? Cause it was interesting setting up this crap. its not caching it!!!! UGH! Charles?!

Top
#151359 - 02/21/02 02:59 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
"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.

Top
#151360 - 02/21/02 07:49 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Redo the cp.cgi file hacks, making sure it requires at least one file.

Top
#151361 - 02/21/02 07:54 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
First set of problems fixed. Reupload ubbnews.cgi, cp_ubbnews and redo cp_common.pl and cp.cgi carefully.

Top
#151362 - 02/22/02 06:04 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Galipabi Offline
Member

Registered: 04/02/01
Posts: 64
Loc: istanbul/TR
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]

Top
#151363 - 02/22/02 05:41 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Corona Offline
Member

Registered: 06/25/01
Posts: 199
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

Top
#151364 - 02/22/02 06:22 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
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

Top
#151365 - 02/22/02 06:38 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Corona Offline
Member

Registered: 06/25/01
Posts: 199
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.

Top
#151366 - 02/22/02 06:51 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Corona Offline
Member

Registered: 06/25/01
Posts: 199
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/<img[^>]+?>//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};

Top
#151367 - 02/22/02 11:07 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
"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.

Top
#151368 - 02/22/02 11:51 PM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
I cant see reason for that... ugh..

Top
#151369 - 02/23/02 08:39 AM Re: [6.3.x] [beta] UBBNews 2.3b Beta [Unmaintained]
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
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!

Top
Page 3 of 11 < 1 2 3 4 5 ... 10 11 >


Who's Online
1 registered (Pilgrim), 32 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
ubb.social
by Placebo
Today at 04:25 AM
Displaying a gif for a paying member
by Iann128
01/06/09 07:04 AM
Restore The "New Topic Is Highlighted" Feature
by hikelite
01/02/09 07:41 PM
Web Hosting
by Pilgrim
01/02/09 04:13 PM
Finishing touches on a UBB migration
by AllenAyres
01/02/09 03:04 PM
Sidebar options?
by Pilgrim
12/26/08 03:40 PM
Legacy Style
by sirdude
12/24/08 07:18 PM
New Mods
Displaying a gif for a paying member
by Iann128
12/29/08 11:44 AM
Legacy Style
by Micky
12/21/08 01:36 PM
ubb.social
by
08/03/06 10:38 AM
Newest Members
bluedthunder, blaqskreen, RAICHU, sebak, BaronDriver
13371 Registered Users
Top Posters
AllenAyres 25461
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks