php forum
php mysql forum
php mysql smarty
 
Page 2 of 9 < 1 2 3 4 5 6 7 8 9 >
Topic Options
#199621 - 09/17/03 01:04 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I realize that this is for 6.5 and 6.6 but I figured 6.4 *might* work so I gave it a shot and I set it to forum 9 (announcement) and threads =5 and it comes up blank. If I put ubbnews.php?forum=9 then it gives me one thread and it seems to pull it up from last year. Any ideas?
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#199622 - 09/17/03 09:42 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
if i had ftp access to my domain from here, and if my domain wasn't blocked from here i'd test it, but i'm not expecting my laptop back till next week smirk...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#199623 - 09/17/03 08:07 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Quote:
quote:</font><hr />Originally posted by twslex:
<blockquote><font class="small">quote:
[qb]Originally posted by Sub Zero:
the vars_config.inc.php for your UBB paths.

Feel free to suggest any improvements to the code, as I'm still learning PHP smile This may/may not work on earlier versions, so use at your own risk.
[/qb]
vars_config.inc.php is different in 6.4, so i any one wants to use it on 6.4.x u have to change the link towards the the topic. <hr /></blockquote>Can we get a little more detail on how to get it to work with 6.4?
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#199624 - 09/17/03 10:31 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
Ok... I haven't tested it with 6.4 but assuming the metadata formats haven't changed it should work.

Regarding pulling the old thread, rebuild the forum stat files for that particular forum and see if that cures it. If not, I'll have to figure a way to handle metadata being out of order. Maybe something of using the lastnumber and counting backwards and searching for existing files.

doing ubbnews.php?forum=9&threads=5 should pull 5 threads and tease them.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#199625 - 09/17/03 10:40 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Thanks, I'll work on it. I appreciate the reply!!

edit: the stat rebuild didn't help and the threads=5 still just pulls one old thread up. Thread it pulls is consistent though. Here's the link I'm trying;

http://www.netwerkin.com/noncgi/ubbnews.php?forum=9&threads=5
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#199626 - 09/17/03 11:00 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
Lemme dig up a 6.4 zip and I'll install it locally and see if I can't sort it out. I wrote this during 6.5, so I never got a chance to run it on 6.4.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#199627 - 09/17/03 11:16 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
You are the man, I hope I'm not causing too much trouble. I want to upgrade but I don't want to kill the look I have at Netwerkin right now and it's a pain to build.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#199628 - 09/17/03 11:29 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I got the threads to show 5 but they are still old ones. I had made a mistake while editing the page.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#199629 - 09/18/03 10:08 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
Aye! The forum_XX.threads files in 6.4 aren't in sync like the 6.6 files(The ones on my 6.6 board are sorted in numeric order which makes for clean processing of the array). The way I wrote this, I take the .threads, pop the bottom rows off, then invert the array so I can process it in reverse order. It looks like with 6.4, I need to sort the array myself before processing it.

Let me see what I can cook up for porting this mod back to 6.4....

On a positive note, you helped me solve the graemlin processing problem. Drop ubbnews.php into the noncgi directory. I call mine out of the root because it is with the rest of the PHP scripts that power the main page on my site.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#199630 - 09/18/03 03:57 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Fair warning: The fact that hashes are alpha-sorted in 6.6 is actually a bug. I meant to turn that off. 6.6.1+ corrects this. tipsy
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#199631 - 09/18/03 04:04 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
Damn...It makes metadata much easier to examine.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#199632 - 09/18/03 04:16 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Eh, it's not so bad. The fact that alpha-sorted forums will use a date-sorted .threads file in 6.7 will make up for it. (Meaning alpha-sorted forums will be able to be pruned, mass moved from, and have CIs stuck on them, in addition to your routines being able to work with them.)
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#199633 - 09/19/03 10:31 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
ok, I've gotten as far as this

http://www.alforadmin.com/ubb/ubbnews.php?forum=10&threads=5

shocked How do I include it in a webpage?
_________________________
Code monkey like Fritos

Top
#199634 - 09/19/03 11:41 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
just do a

Code:
<? include("http://www.alforadmin.com/ubb/ubbnews.php?forum=10&threads=5"); ?>
Now to start rewriting the fetching engine so it can properly sort the .threads file smile
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#199635 - 09/20/03 12:07 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
smile Thank you, I got it working here http://www.alforadmin.com/ubb/index.php
_________________________
Code monkey like Fritos

Top
#199636 - 09/21/03 04:22 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
That has a nice look to it Al.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#199637 - 09/21/03 08:21 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
Updated the zip with a sorting bugfix which pulls old topics.

Randy, this should work with 6.4 now smile
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#199638 - 09/21/03 08:32 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Thank you SO much. I've been building a 6.6 upgrade kit for Netwerkin but it's weeks away and I've been dying to have a front page again. Netwerkin used to be rather large but I moved the tutorials etc. to www.randymcelroy.com (my personal site).
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#199639 - 09/22/03 11:14 AM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Ron M Offline
Admin Emeritus
Developer

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
Between the news feeder and CIs, you should be able to build one in no time smile
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#199640 - 09/22/03 09:01 PM Re: [6.4 - 6.5 - 6.6 - 6.7] [beta] UBBNews PHP Feed
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
I found an, odd, bug...

When you view the script here and compaire it to my forum #6 it pretty much pick and chooses which stories it wants to use...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
Page 2 of 9 < 1 2 3 4 5 6 7 8 9 >


Moderator:  Charles, Gizmo 
Who's Online
0 registered (), 25 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
nick1, Begbie, cenk, MATTO, DougMMcts
13362 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks