vBulletin Modifications

IMDB Mouseover hack

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 04-14-2005, 05:11 PM   #1
Coder
Join Date: Apr 2005
stivo20 is on a distinguished road

Question IMDB Mouseover hack

I'm thinking about to make a hack that:
When you move over a topic with IMDB info in it, you wil get a smal square 'popup' (not really)
(more like a lardge tooltip)

Just like here:
http://www.tweakers.net
At the verry bottom of the page (the sponsors)

Do you guys thing this is a nice hack an possible to make,
When it takes not to mutch performance of your board.

And maybe you have some tips...
BTW. This is not a request but your help is welcome




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-15-2005, 04:56 AM   #2
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

Yes its possible, perhaps the only advice I can give here is remember that if its not a movie post your code will still replace the tooltip code so you need to be thinking along the lines of if / else etc
Attached Images
File Type: gif imdb.gif (31.0 KB, 230 views)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2005, 10:53 AM   #3
Charter Member
Sphinx's Avatar
Join Date: Jul 2004
Sphinx is on a distinguished road

Default

well last night i was just playing around on my own, and what ive done is just real super basic obviously with nothing of real substance in the tool tip, but i am looking to add into this. As seen on the image attached, im working on this to display thread info for the last races on the forumhome template. All i want is just the info seen here, except to make it of course look prettier, and to add in a status checker.

When i was working on making a checker, i put this together;

inside /index.php :
You must first be a registered member to view any code.
Real basic, i know, but i need to know the basics before i can begin understanding the more complex ;) Does anyone see anything wrong with this? I thought it would be all i need to do, just pull the status from ftpdata (Yes, i am using SA's FXP Pack 1.1b) and just set the status for the tool tip = to whatever info it pulled from the database, but it wasnt working quite right, so maybe someone has some insight on that.

Another thing. I havent yet gotten to this part, as im still working on undersatnding the forumhome situation. As your image sorta shows SA, for my Movie forums on the board i was looking to also add in not only stuff such as country info, but also the imdb info pulled from the database. This should just be a few queries to the ftpdata and imdb tables, correct? If so, should there be anything more i need to hard code into the forumdisplay.php? or would anyone suggest using templates for any of this? im quite open to suggestion, and id really appreciate any advice thanks again,

--Sphinx




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2005, 11:42 AM   #4
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

No need for extra quiries. Just modified existing ones is the advice id give on the above. The last race hack already pulls info from ftpdata all you have to do is add the additional info to that query.
You do not need to query the imdb table as well as the ftpdata table for movie info one of the very reasons for adding the imdb info directly to the ftpdata table when a new thread is made is to reduce the ammount of queries needed when viewing the thread. In forumdisplay/forumhome etc etc all you need to do is make sure what you need is being retrieved and if its not then add it to the existing query no point querying the ftpdata table twice just because you want 2 lots of information about one post.
__________________


Feel free to ask questions here




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2005, 11:47 AM   #5
Charter Member
Sphinx's Avatar
Join Date: Jul 2004
Sphinx is on a distinguished road

Default

right on, thanks SA it makes sense of course, now that i think about it. ill check out what happens when i add to the existing queries. will report back

--Sphinx




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2005, 02:08 PM   #6
Charter Member
Sphinx's Avatar
Join Date: Jul 2004
Sphinx is on a distinguished road

Default

right, that was too easy to do.. thanks . my next task will be trying to embed images into the tool tip. ill be researching, but do you have any advice on what to do/how to do it? I know pulling the image and info from the database is easy as you showed, just not quite sure how to embed it into the dhtml.

--Sphinx




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2005, 05:12 PM   #7
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

i used java script myself so that would be my suggestion




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2005, 06:50 PM   #8
Charter Member
Sphinx's Avatar
Join Date: Jul 2004
Sphinx is on a distinguished road

Default

thanks for your advice SA it really helped out Im not finished fooling around with it

--Sphinx




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2005, 02:27 AM   #9
Coder
Junior's Avatar
Join Date: Nov 2004
Real Name: jr
Location: U.S.A
Junior is on a distinguished road

Default

that looks mint as hell would you be releasing the code for it?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2005, 03:27 AM   #10
Coder
Junior's Avatar
Join Date: Nov 2004
Real Name: jr
Location: U.S.A
Junior is on a distinguished road

Default

aight well i got tooltip to work on plain html page but ihave no idea how to go about emplementing it into the foruums so far i have

You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a Game Hack sumulair to the IMDB Hack. hotline vBulletin Modification Requests 51 07-23-2005 09:45 AM
IMDB hack?? Rocky vBulletin Modification Requests 3 05-19-2005 05:10 PM
Install System Part 2 Ken Iovino Announcements 10 05-19-2005 11:40 AM
IMDB hack? dieRooie General vBulletin Support 3 11-22-2004 11:11 AM


All times are GMT -3. The time now is 08:03 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)