MyBB Hacks

Full Version: [split] Coding Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(06-06-2010 07:34 AM)leefish Wrote: [ -> ]Have options to place the banners in different areas of the portal - as a header. a footer, a side bar etc. This would mean a plug in where I paste the plugin name eg {$myplugin} into a template.

Try this way:

Remove / comment out this line:

PHP Code:
$GLOBALS['header'] = str_replace('<!-- Attachment Gallery -->', $mnattachment_gallery, $GLOBALS['header']);


Then, put {$mnattachment_gallery} variable manually in your portal template.

(06-06-2010 07:34 AM)leefish Wrote: [ -> ]Have a banner on a single forum that is JUST for that forum (puzzling over this now)

Try this attachments (only for XThreads attachments thumbnail).
Wahey - It works! You guys are so awesome -  am now looking at the plug in code to figure out HOW you did it with the forum only attachment. This will be very very cool for a book review area on a forum. That is my next project, I hope to post it here in the X threads area.

Thank you very much Rateu and Zinga.
These guys are genious and very helpful. I love it here.
If Yumi didn't provide us this code, maybe we never know how to pull the XThreads thumbnails Smile
(06-05-2010 10:20 AM)ZiNgA BuRgA Wrote: [ -> ]

PHP Code:
	$mnlag_att_thumb = xthreads_get_xta_url($mnlag).'/thumb160x120';


Thank you very much, Yumi Smile
(06-06-2010 11:27 AM)RateU Wrote: [ -> ]If Yumi didn't provide us this code, maybe we never know how to pull the XThreads thumbnails Smile
(06-05-2010 10:20 AM)ZiNgA BuRgA Wrote: [ -> ]

PHP Code:
	$mnlag_att_thumb = xthreads_get_xta_url($mnlag).'/thumb160x120';


Thank you very much, Yumi Smile

+1 Totally agree.
Pages: 1 2
Reference URL's