08-15-2010, 01:51 AM
08-15-2010, 02:21 AM
Thanks for updating this for MyNetwork users ZiNgA BuRgA, its really cool.
08-17-2010, 02:35 AM
Hallo, and back again. I was not sure where to post this as its a question about a plugin file I got from another thread on this board. This is the thread and the plugin:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=415&pid=29
The plugin adds Xthreads images to profile - its super cool.
Here is a link to the plugin in action so its clearer what I am talking about:
http://www.leefish.nl/mybb/member.php?ac...http://www.leefish.nl/mybb/member.php?action=pro
I was trying to add a small icon above the image in the profile display. Ideally the icon of the game it is for based on the relevant xthreads field I chose for it.
Anyway, that was a bit hard so I decided to try and make it have the word Download above the picture in those forums where I have downloads (forums 7 and 29) and Find in those areas I have finds. The reason I need to make it optional rather than just using the plug in is because I have other users who have contributed to the forum but don't make downloadable sims stuff.
I tried using php in templates in the mnxtigprofile_images_image to do this:
http://mybbhacks.zingaburga.com/showthre...http://mybbhacks.zingaburga.com/showthread.php?tid=415&pid=29
The plugin adds Xthreads images to profile - its super cool.
Here is a link to the plugin in action so its clearer what I am talking about:
http://www.leefish.nl/mybb/member.php?ac...http://www.leefish.nl/mybb/member.php?action=pro
I was trying to add a small icon above the image in the profile display. Ideally the icon of the game it is for based on the relevant xthreads field I chose for it.
Anyway, that was a bit hard so I decided to try and make it have the word Download above the picture in those forums where I have downloads (forums 7 and 29) and Find in those areas I have finds. The reason I need to make it optional rather than just using the plug in is because I have other users who have contributed to the forum but don't make downloadable sims stuff.
I tried using php in templates in the mnxtigprofile_images_image to do this:
Code:
|
Here is the if function in my template:
Code:
|
but that did not work .... I tried taking the <elseif> piece out to see if that was the problem but it still did not work.
Any idea what am doing wrong?
08-17-2010, 04:21 AM
Maybe something like this:
Code:
|
Another solution maybe, you can use image, and rename the images based on the forum id. e.g: 7.png, 29.png and etc. Then put the image tag in the template.
08-17-2010, 04:46 AM
Hi RateU, thank you - I see I was overcomplicating things as usual. The images is a good idea - I shall try that.
09-15-2010, 02:35 PM
Updated to v1.7, just adds a few shortcut functions. This is mainly to prepare for the Template Conditionals plugin.
09-16-2010, 12:44 AM
Thanks for the update!
09-17-2010, 04:46 AM
Thanks you very much for the update, Yumi.
10-04-2010, 03:36 AM
ZiNgA, this is brilliant... it really allows you to make your own customisation
But I've installed it, with no other plugins installed and I'm getting the error:
showthread.php(1195) : eval()'d code on line 60
This only happens on the showthread pages, and my version of MyBB is up to date (MyBB 1.6). This happens without me even trying to change my templates, all I did was activate the plugin
EDIT: DOW!!!! MY BAD... I had some rubbish < $stuff > in there that I was testing with.. sorry, work like a dream now, CHEERS!
But I've installed it, with no other plugins installed and I'm getting the error:
showthread.php(1195) : eval()'d code on line 60
This only happens on the showthread pages, and my version of MyBB is up to date (MyBB 1.6). This happens without me even trying to change my templates, all I did was activate the plugin
EDIT: DOW!!!! MY BAD... I had some rubbish < $stuff > in there that I was testing with.. sorry, work like a dream now, CHEERS!
10-07-2010, 11:23 PM
fixed issue! my fault sorry!