04-28-2011, 07:54 AM
05-01-2011, 07:08 AM
Is there a way to make this use the poster's avatar instead?
05-01-2011, 08:09 AM
Maybe this thread can help you:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=713&pid=66
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=713&pid=66
05-01-2011, 08:40 AM
(05-01-2011 08:09 AM)leefish Wrote: [ -> ]Maybe this thread can help you:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=713&pid=66
That is cool. Now if there is a way for it to show both the author's avatar and then the last poster's avatar in a small square inside the author's avatar that would be epic.
05-01-2011, 09:05 AM
Maybe try this edit - I haven't tested it, but if it works, it'll pull both the thread starter and last poster's avatar. Former should be in {$thread['avatar']} and the latter in {$thread['lpavatar']}
Thanks to RateU for the plugin.
Thanks to RateU for the plugin.
05-01-2011, 10:35 AM
SQL Error:
Quote:SQL Error:
1054 - Unknown column 't.lastpostbumperuid' in 'on clause'
Query:
SELECT t.*, tfd.`desc` AS `xthreads_desc`, p.displaystyle AS threadprefix, (t.totalratings/t.numratings) AS averagerating, r.uid AS rated, t.username AS threadusername, u.username, u.avatar, lp.avatar AS lpavatar FROM mybb_threads t LEFT JOIN mybb_users u ON (u.uid = t.uid) LEFT JOIN mybb_threadratings r ON(r.tid=t.tid AND r.uid='1') LEFT JOIN mybb_threadprefixes p ON (p.pid = t.prefix) LEFT JOIN `mybb_threadfields_data` tfd ON t.tid=tfd.tid LEFT JOIN mybb_users lp ON (lp.uid=t.lastpostbumperuid) WHERE t.fid='7' AND (t.visible='1' OR t.visible='0') GROUP BY t.tid ORDER BY t.sticky DESC, t.lastpostbump desc LIMIT 0, 20
05-01-2011, 11:03 AM
Are you using my really old (and not so good) Bump Thread plugin?
I guess a workaround could be to open up the above mnxt_fn_av.php, find:
I guess a workaround could be to open up the above mnxt_fn_av.php, find:
Code:
|
replace with
Code:
|
05-01-2011, 11:15 AM
(05-01-2011 11:03 AM)ZiNgA BuRgA Wrote: [ -> ]Are you using my really old (and not so good) Bump Thread plugin?
I guess a workaround could be to open up the above mnxt_fn_av.php, find:
Code:
t.lastposteruid
replace with
Code:
t.`lastposteruid`
Yes I am It's a good plugin
Ok that fixed it the SQL error, but the images aren't showing up. Did I put the code in the right place in the forumdisplay_thread template?
Code:
|
05-01-2011, 01:06 PM
You're not meant to put the two URLs together. They have to be in separate <img> tags.
I suggest you read up on HTML if you're really intent on customising. It doesn't take too long, and will be infinitely useful.
I suggest you read up on HTML if you're really intent on customising. It doesn't take too long, and will be infinitely useful.
05-01-2011, 01:08 PM
(05-01-2011 01:06 PM)ZiNgA BuRgA Wrote: [ -> ]You're not meant to put the two URLs together. They have to be in separate <img> tags.
I suggest you read up on HTML if you're really intent on customising. It doesn't take too long, and will be infinitely useful.
Oh ok.
Yes, you're right, I should get my lazy self in gear and just learn it. Sorry to take your time.