php forum
php mysql forum
php mysql smarty
 
Page 2 of 4 < 1 2 3 4 >
Topic Options
#317323 - 06/29/08 08:15 AM Re: [7.3.x] ubb.links [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Originally Posted By: Gizmo
The "diamond" shows when there is a characterset conflict; you can test it here


I don't see any 'diamonds' on your links install. Not sure how there would be any characterset conflicts since it takes the charset from the forum settings.
_________________________
- Allen wavey
- What Drives You?

Top
#317324 - 06/29/08 08:19 AM Re: [7.3.x] ubb.links [Re: Zarzal]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Originally Posted By: Zarzal
Looks nicer. Submitting of the sortorder works now but on my links main page it have no effect. My categorys stuck everytime in same same order. Can it be that I have an very old db and missing some fields in it? Can this be?


Thanks Zarzal. Maybe it's a caching issue, have they changed yet? I believe if you are able to set the order in the cp, then your database should be up to date.

The problem with the old way of setting the order (and the reason the changes never worked) was the original code was written back when people were using php 3 and 4 series - HTTP_POST_VARS has been deprecated for quite some time now and the command didn't mean anything for current versions of php - I used $_Post to get it running.
_________________________
- Allen wavey
- What Drives You?

Top
#317327 - 06/29/08 10:20 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
OK, Gold release in first post thumbsup

The last of the major bugs were fixed (I think smile ):
- fixed bread crumb
- fixed stats
- more xhtml fixes
- css adjustments

I also:
- added censor check to new links
_________________________
- Allen wavey
- What Drives You?

Top
#317328 - 06/30/08 02:27 AM Re: [7.3.x] ubb.links [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Well, I don't know what to tell you, cas they're there... Screencaps:



Additionally, tidy reports: "Page Error: This page contains invalid characters"
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317330 - 06/30/08 08:36 AM Re: [7.3.x] ubb.links [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Those would only be viewable by the admin and why I couldn't see them on your site. They're ¤ symbols used by the original author. They don't throw errors at w3.validator.org, I'll update them on the next version. smile
_________________________
- Allen wavey
- What Drives You?

Top
#317336 - 06/30/08 01:13 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
7.3.1 (released 6/30/2008):
- fixed invalid html characters - Thanks Gizzy!
- added link submission sanitization - Thanks Yarp!
- minor code cleanup

Because of the sanitization addition/correction, everyone is urged to upgrade.

To upgrade from within 7.3.x, just upload files. For earlier versions follow info in first post.
_________________________
- Allen wavey
- What Drives You?

Top
#317338 - 06/30/08 04:38 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
Thank you, Allen.

I still have a sort problem. I attach some picturs. In picture lin1 you see my sort order in the admin section. In link2 you see the output of the main page. I can change the sortorder but it have no efect to the mainpage.

In picture link3 you can see 2 problems. It is a screenshot of inside a sub section. on the right side you can see a table problem in the layout.

Also I note (visibe in link3 too) that the statistic on the bottom count each section. In a subforum without links you count 0. Should this be that the counter is per page?


Attachments
link1.jpg
Description: Sortorder admin section

link2.jpg (7 downloads)
Description: Main Windows output

link3.jpg (8 downloads)
Description: inside subsection layout problem, db count problem


_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#317339 - 06/30/08 09:14 PM Re: [7.3.x] ubb.links [Re: Zarzal]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Not sure what to say, it works on 2 different installs for me. Are you running php5?

And you are correct on the stats. It needs to be updated.

Most likely, we'll be pulling this apart and seperating the pages into their own scripts with their own templates. Right now we're running into conflicts trying to run it all from one script.
_________________________
- Allen wavey
- What Drives You?

Top
#317340 - 06/30/08 10:19 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Lol, bad characters to use wink

I like the idea of tearing it apart though wink


Edited by Gizmo (06/30/08 10:20 PM)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317341 - 06/30/08 10:31 PM Re: [7.3.x] ubb.links [Re: Zarzal]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Hey AA, I wanted to test your installer for 7.3.1 but it's complaining that the tables don't exist... Which duah, I want to use the installer lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317342 - 06/30/08 10:34 PM Re: [7.3.x] ubb.links [Re: Zarzal]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Just noticed the note about the seperate file; I think the install docs need to mention they need to access it as:
ubbthreads.php?ubb=links_install

I also found a bug... When you're viewing the main index without any categories, it throws an html error which skews the tables for ubb


Edited by Gizmo (06/30/08 10:36 PM)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317343 - 06/30/08 10:48 PM Re: [7.3.x] ubb.links [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Yeah, I haven't looked to do anything with that error - if you don't have any categories you really haven't finished installing it yet smile I guess we could add a "General" category with the create table functions, but most would change it anyways.
_________________________
- Allen wavey
- What Drives You?

Top
#317344 - 06/30/08 10:51 PM Re: [7.3.x] ubb.links [Re: Gizmo]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
I was thinking the images didn't look right, so I nuked them from my install, it doesn't look half bad now (clicky)

Also, AA, if you use tab's instead of spaces for separation in your files, you can cut out a lot of unneeded space... Check my example attached...


Attachments
links.zip (2 downloads)



Edited by Gizmo (06/30/08 10:54 PM)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317345 - 06/30/08 10:58 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Most likely we'll be changing the design of the categories to more closely match the design of ubb.threads forums - being able to have an unlimited/random number of columns is pretty much guaranteed to have html errors like zarzal is seeing for some sites. It's pretty much impossible to make it work for everyone.
_________________________
- Allen wavey
- What Drives You?

Top
#317346 - 06/30/08 11:02 PM Re: [7.3.x] ubb.links [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Originally Posted By: Gizmo
I was thinking the images didn't look right, so I nuked them from my install, it doesn't look half bad now (clicky)

Also, AA, if you use tab's instead of spaces for separation in your files, you can cut out a lot of unneeded space... Check my example attached...


Yeah, I used to do that, but it's generally recommended by the php/zend people to use tabs of 4 spaces - just so it's the same for everyone - some people use 2 spaces for tabs, others use tabs of differing sizes, others use 6 or 8 spaces for tabs. I can look it up on the zend site, but it's been a while and I just set it to 4 spaces and forget about it. smile Any part I've tabbed on is set to 4 spaces.

You're probably right about the images, it's one of those left-over things from the original code. They'll probably go away as we move closer to the forum-look. smile
_________________________
- Allen wavey
- What Drives You?

Top
#317347 - 07/01/08 12:26 AM Re: [7.3.x] ubb.links [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
I look at the formatting merely as what's being used in terms of keystrokes vs how zend feels about things wink...

As for the images, they're a smidge larger than the text, so it was causing me some grief... I don't really see much of a use of them for what I'd use it for; so reguardless I'd edit them out.

I moved the spaces to AFTER the previous entry vs in FRONT of the entry as it makes visibly looking for items a little easier.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317348 - 07/01/08 08:58 AM Re: [7.3.x] ubb.links [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
I set my tabs to equal 4 spaces, it's no more keystrokes smile

Where do you mean moving the spaces? For subcats or ?
_________________________
- Allen wavey
- What Drives You?

Top
#317349 - 07/01/08 10:07 AM Re: [7.3.x] ubb.links [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
There is more keystrokes though...
One tab is One character.
4 spaces is 4 characters.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317350 - 07/01/08 12:21 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
Originally Posted By: AllenAyres
Are you running php5?
yes: PHP Version 5.2.5-3
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#317351 - 07/01/08 01:48 PM Re: [7.3.x] ubb.links [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25448
Loc: Texas
Odd zarzal, not sure what to tell you. When you do a

SELECT * FROM ubbt_links_categories

does cat_order match up with what you are seeing in your links control panel?

Originally Posted By: Gizmo
There is more keystrokes though...
One tab is One character.
4 spaces is 4 characters.


I know what you are trying to say... I used to be able to shrink photopost's filesize by half just by removing trailing spaces and converting leading spaces to tabs. The php/zend people recommend 4 spaces for each tab, so... you might bring your beef up with them and let me know if they make changes in those recommendations smile
_________________________
- Allen wavey
- What Drives You?

Top
Page 2 of 4 < 1 2 3 4 >


Moderator:  sirdude 
Who's Online
0 registered (), 27 Guests and 11 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
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 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