php forum
php mysql forum
php mysql smarty
 
Topic Options
#317035 - 05/21/08 09:37 AM [7.3] Just a tooltip with the search results
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 303
Loc: The Netherlands
I don't like the tooltip in general, since it justs lists the first post of a topic again and again, but I do like it in the search results.

I just turned of the tooltip, and added one line of code to /scripts/dosearch.php

Find
Code:
	extract($in, EXTR_OVERWRITE | EXTR_REFS); // quick and dirty fix - extract hash values as vars


add below:

Code:
	$config['TOOLTIP_LENGTH']="300";


Adjust the 300 to whatever length of tooltip you want.
_________________________

Top
#317036 - 05/21/08 10:22 AM Re: [7.3] Just a tooltip with the search results [Re: blaaskaak]
jgeoff Offline
Power User

Registered: 04/05/01
Posts: 93
Loc: NJ

Awesome, thanks! cool
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0

Top
#317140 - 06/01/08 11:09 PM Re: [7.3] Just a tooltip with the search results [Re: jgeoff]
willing Offline
User

Registered: 04/17/07
Posts: 42
What does this do if we have the Tooltips set to "on"?

Thanka

Top
#317141 - 06/02/08 12:54 AM Re: [7.3] Just a tooltip with the search results [Re: willing]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 303
Loc: The Netherlands
Basicly change the value of the tooltip size to whatever you have hardcoded in this mod.

That's all it does, override the tooltip size, and basicly turning it on if you have it off.
_________________________

Top
#317149 - 06/02/08 11:22 AM Re: [7.3] Just a tooltip with the search results [Re: blaaskaak]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Merci B, I like the tooltip, but the active topics version does seem a little redundant smile
_________________________
- Allen wavey
- What Drives You?

Top
#317155 - 06/02/08 02:52 PM Re: [7.3] Just a tooltip with the search results [Re: AllenAyres]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 303
Loc: The Netherlands
You could add above hack to the active topics page, forcing the tooltip value to 0 in that script.
_________________________

Top
#317158 - 06/02/08 04:03 PM Re: [7.3] Just a tooltip with the search results [Re: blaaskaak]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 442
Loc: SoCal
i kill the body in active topics display and just use the tooltip.. laugh
_________________________

Top
#317167 - 06/04/08 03:30 PM Re: [7.3] Just a tooltip with the search results [Re: sirdude]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
Interesting... I like the quick-scan of active topics, without having more than eye effort smile
_________________________
- Allen wavey
- What Drives You?

Top


Moderator:  sirdude 
Who's Online
0 registered (), 27 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
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
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks