php forum
php mysql forum
php mysql smarty
 
Page 3 of 4 < 1 2 3 4 >
Topic Options
#317352 - 07/01/08 05:34 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
sirdude Moderator Offline
Bada bing!
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal

   Re: [7.3.x] ubb.links to Del.icio.us Add to del.icio.us
  Digg Re: [7.3.x] ubb.links Digg it
i'm a 2 space guy smile
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#317353 - 07/01/08 05:55 PM Re: [7.3.x] ubb.links [Re: sirdude]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Exactly, everyone has their preferences, so when possible I try to follow best practices as outlined by the people who write php smile
_________________________
- Allen wavey
- What Drives You?

Top
#317354 - 07/01/08 07:33 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
sirdude Moderator Offline
Bada bing!
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
ubbthreads is 2 space based, if you wanted it to match what it is using wink

but whatever fluffs your flannel is ok with me..

that's what powerful editors are for anyway. it's like a 2 command dealio in UltraEdit to change it from 4 to 2..

no biggie..

Top
#317356 - 07/02/08 09:07 AM Re: [7.3.x] ubb.links [Re: sirdude]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
I'm so glad I have your approval wink

I know this is not based on the zend framework, but I set my text editor up with the tabs based on their recommendations:

http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html

http://framework.zend.com/manual/en/coding-standard.coding-style.html

I know I have asked several times to pay someone to code this for me... I couldn't even pay for it so I'm doing it myself. Take up your spaces fetish with the zend people and let me know how it turns out. wink Or you could contribute to the project...
_________________________
- Allen wavey
- What Drives You?

Top
#317357 - 07/02/08 11:30 AM Re: [7.3.x] ubb.links [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Minor version release to (hopefully) fix the html bug zarzal was seeing with subcats and sanitize the fave/rate submissions:

7.3.1a (released 7/2/2008):
- fixed xhtml issue with subcats
- added fave and rating submission sanitization

First post has latest code.
_________________________
- Allen wavey
- What Drives You?

Top
#317360 - 07/02/08 12:58 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
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?
seems so. I attach a result of the query as screenshot.
It looks that the sort follows cat_id if parrent_id = 0 and not cat_order


Attachments
sortorder.jpg (5 downloads)



Edited by Zarzal (07/02/08 01:00 PM)
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#317361 - 07/02/08 01:35 PM Re: [7.3.x] ubb.links [Re: Zarzal]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
I think I adjusted one SORT BY in the most recent version, can you upload the links.inc.php from the current zip and let me know if it fixed your html error and sort order? danke smile
_________________________
- Allen wavey
- What Drives You?

Top
#317362 - 07/02/08 02:57 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
I already try the latest version, but no changes frown Can you change the sortorder on your system?
The html problem seems to be fixed. But right now I found a new layout problem: try pressing a green button near a link to edit it and see what happen ...


Edited by Zarzal (07/02/08 03:00 PM)
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#317363 - 07/02/08 03:33 PM Re: [7.3.x] ubb.links [Re: Zarzal]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Yes, sort_order changes in my test install here:

http://www.ubbdev.com/forums/ubbthreads.php/ubb/links/op/Links.html

I fixed the layout on the edit screen, there's probably 1-2 more of those left... every screen had to be updated. smile
_________________________
- Allen wavey
- What Drives You?

Top
#317366 - 07/03/08 10:32 AM Re: [7.3.x] ubb.links [Re: AllenAyres]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Please try the current zip Zarzal - maybe your combo of php/mysql didn't like the quotes in:

ORDER BY 'cat_order'

It should work either way, but maybe your case is special. smile
_________________________
- Allen wavey
- What Drives You?

Top
#317369 - 07/03/08 03:59 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
no, this brings an error:
Parse error: syntax error, unexpected '}' in /var/www/users/d/d00003/websites/dragonclan-forum.de/board/scripts/links.inc.php on line 1090

/update:

aaahhhhh, the sortorder works. I insert the following block again that you have removed:
Code:
function linkRating () {
    if ((!$row[totalvotes]) || (!$row[linkratingsummary])) {
    $average = 0;
    } else {
    $average = round(($row[linkratingsummary] / $row[totalvotes])-0,5);
    }
    $star = "";
    $stars = 0;
    while ($stars<$average) {
    	$star .= "<img src=\"{$config['BASE_URL']}/images/links/star.gif\" alt=\"{$ubbt_lang['LINKS_STAR']}\" border=\"0\" align=\"middle\" />";
    	$stars++;
    }
now te error is gone and the sortorder work


Edited by Zarzal (07/03/08 04:02 PM)
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#317370 - 07/03/08 06:15 PM Re: [7.3.x] ubb.links [Re: Zarzal]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Well.... it looks like I left an extra } in there. It will be fixed on the next release. I'm glad at least we got past that bug on the sort. I'll make sure the other queries are updated too.
_________________________
- Allen wavey
- What Drives You?

Top
#317399 - 07/11/08 04:24 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
DoubleDutch Offline
Lurker

Registered: 07/04/08
Posts: 2
It would be incredibly useful if we could define a Group that could moderate the links that was separate from the Administrators. Am I just overlooking this feature?

Top
#317403 - 07/12/08 06:52 PM Re: [7.3.x] ubb.links [Re: DoubleDutch]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
The moderators can moderate the links smile
_________________________
- Allen wavey
- What Drives You?

Top
#317409 - 07/15/08 12:37 PM Re: [7.3.x] ubb.links [Re: AllenAyres]
DoubleDutch Offline
Lurker

Registered: 07/04/08
Posts: 2
Right, but what if I don't want all of my moderators to moderate links, but only specific ones? Or specific groups of moderators?

Top
#317420 - 07/18/08 05:09 PM Re: [7.3.x] ubb.links [Re: DoubleDutch]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
That's a little over this mod so far... I'll look to get it into the next version tho smile
_________________________
- Allen wavey
- What Drives You?

Top
#317450 - 07/24/08 06:30 AM Re: [7.3.x] ubb.links [Re: Zarzal]
Grymmie Offline
Lurker

Registered: 12/11/07
Posts: 7
I must be dumber than a skunk, but after downloading the zip file, I can not seem to find a method of "adding" ubblinks to my ubbthreads install.


Please advise with a little more substance for us "beginner" users.

Thanks

Top
#317451 - 07/24/08 06:53 AM Re: [7.3.x] ubb.links [Re: Grymmie]
Grymmie Offline
Lurker

Registered: 12/11/07
Posts: 7
Woops...I guess I'm not that dumb after all.

Figured it out smile

Top
#317452 - 07/24/08 07:48 AM Re: [7.3.x] ubb.links [Re: Grymmie]
Grymmie Offline
Lurker

Registered: 12/11/07
Posts: 7
Ok..now I have no clue..

Want to add a "Links" link to the breadcrumb bar. Guess its a new methodology vs 7.1 so I can not figure out how to do so.

Can someone advise?

Thanks

Top
#317453 - 07/24/08 04:58 PM Re: [7.3.x] ubb.links [Re: Grymmie]
Grymmie Offline
Lurker

Registered: 12/11/07
Posts: 7
Ok,

I figured that out as well.

So now I know how to solve all my issues with UBBThreads.

First I try to make it work for days...
I give up in frustration...
I post on UBBDEV for an answer...
Then solve it myself, only AFTER posting on UBBDEV.

Hmmm....magical web site?

Top
Page 3 of 4 < 1 2 3 4 >


Moderator:  sirdude 
Who's Online
0 Registered (), 41 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 13
blaaskaak 9
tackaberry 7
FREAK1 6
Gizmo 4
Mike L_dup1 4
Chris Bale 4

 

 

 
fusionbb message board php hacks