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
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: 25411
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
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: 25411
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: 25411
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 Online   sleepy
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 (3 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: 25411
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 Online   sleepy
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: 25411
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: 25411
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 Online   sleepy
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: 25411
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: 25411
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: 25411
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 
Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
1 Registered (Gizmo), 31 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks