![]() |
|
Add-ons Modifications and add-ons for vB Geek stuff. |
Advertisement | |
![]() |
|
Learn how to remove ads |
![]() |
|
Release Tools | Display Modes |
#20
By
trana
on
09-26-2006, 06:58 PM
|
|
![]() Quote:
It is working now, so thank you again. |
|
#22
By
trana
on
10-05-2006, 04:16 AM
|
![]() Can you help me get the code straightened out for displaying the header image next to the title?
I see you have this: Code:
$results = $db->query_read("SELECT t.title, t.views, t.replycount, t.threadid FROM " . TABLE_PREFIX . "thread t WHERE t.visible=1 " . ($forumid ? " AND t.forumid in (-1$forumid) " : "") . "AND t.postuserid = $userinfo[userid] $orderby LIMIT " . (intval($limit) ? $limit : "5")); $bits = ""; while ($result = $db->fetch_array($results)) { $bits .= "<div class=\"smallfont\"> <a href='showthread.php?t=$result[threadid]' title='$result[title]'>$result[title]</a></div>"; } if ($bits) { eval('$GARS_addon_member_top .="' . fetch_template('GARS_addon_member_top') . '";'); } Thanks. |
#23
By
The Geek
on
10-05-2006, 06:46 AM
|
![]() No, however your query should be more like this one:
PHP Code:
|
#24
By
trana
on
10-05-2006, 10:13 PM
|
|
![]() Quote:
Like here? Code:
<img alt=\"\" src='forum/" . ($info[$result['threadid']]['header'] == "" ? $this->settings['url_to_header_images'] . '/' . $this->type['default_image'] : $info[$result['threadid']]['header']) . "' style='border: 0px #000000;padding:0px;' /> |
|
#26
By
trana
on
10-06-2006, 07:28 PM
|
![]() I just want to show the header image in a row next to the title. I can work out the formatting of the $bits to get it to look like the rest of my page, but I can't seem to merge how you derived the location of the header files. It would be easy if I could just call it like I can do with $avatar. |
Last edited by trana; 10-06-2006 at 07:30 PM..
|
#28
By
trana
on
10-08-2006, 01:49 AM
|
|
![]() Quote:
Thanks Geek! |
|
![]() |
Release Tools | |
Display Modes | |
|
|
![]() |
||||
Release | Release Starter | Category | Comments | Last Post |
new user need info | jskoh | Geek Article and Review System | 1 | 10-13-2009 06:58 PM |
Info Block | abrecher | Geek Gazette | 1 | 06-06-2009 08:41 AM |
Please Info | AES | Geek Article and Review System | 3 | 06-09-2006 02:15 PM |
Featured/Latest/Top Active/Top Read Tutorials showing wrong thing | Azhria Lilu | Geek Article and Review System | 5 | 05-22-2006 08:28 PM |
How do I show top X by ratings (top.php) | fyjpm | Geek Article and Review System | 1 | 03-22-2006 05:51 PM |