Thread Rating:
  • 18 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Jammerx2's Plugins
additional user groups image does not work after upgrading to 1.6.5...working on profile but not in postbit...help me on this please..
Reply
(2011-11-28, 04:55 PM)melchor Wrote: additional user groups image does not work after upgrading to 1.6.5...working on profile but not in postbit...help me on this please..

ditto, cant figure out whats missing from postbit
Reply
Go to your Templates > Post Bit Templates > Postbit

find:
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar" width="1" style="{$post['avatar_padding']}">

and replace it with:
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;  {$post['gpcss1']}white-space: nowrap;">
					<tr>
						<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
Reply
made no difference even after clearing cache, etc
Reply
Plugin works fine for me on 1.6.5 using http://community.mybb.com/thread-108595.html

I'm having a problem with how they're displaying though. I can't find any templates for them, but the problem is they all have <br /> after them, but I want all additional usergroups to be on the same line right underneath their main group. You can see what I mean here http://pokebattlecenter.net/Thread-HAI-i...20#pid1620

I basically want to put one <br /> before all of them (Not each one), but not have a <br /> after each one.


Edit: Well, through editing the plugin file I removed the <br /> but now they're on the same line as the main image. I want them to be below it. The link still reflects my problem.

Also, is it possible to add a tooltip so when they hover they can see the name of the group?



EDIT2: Alright, figured it out, so anyone that might want to do the same, here's how:
Lines 50, 70, and 74 need <br /> removed from them. Also, lines 70 and 74 need to be arranged like this:
	$post['groupimage'] = "<img src='$aui'>".$post['groupimage'];

Then, in your Postbit template, find
{$post['groupimage']}

Replace it with

<div style="width:152px;">{$post['groupimage']}</div>

Where 152px is the width of the image you want to drop to the next line. This is probably a more specific fix to my site, but I think it can easily be manipulated for other sites.



Though I still do wonder how I might add title="Name of Group" to the images.


EDIT3:
So, I've been messing around with the file, and I have something that "Should" work, but isn't, or at least I think it should. I changed the file to this:

	$post['groupimage'] = "<a href='' style='cursor: help' id='" . $gid . "badge'><img src='$aui'></a>".$post['groupimage'];

Which gives me this in HTML

<a href='' style='cursor: help' id='10badge'><img src='images/badges/7-johto.png'></a>

Then, I do this Javascript in my Headerinclude template:

<script type="text/javascript">
document.getElementById('10badge').title = "Suspect Voting";
</script>

Which almost works, the only thing that doesn't is the title. I'm just wondering why this is happening, it should work shouldn't it? :/


Last Edit:

So, this is how I got it working:

	$badges_tooltips = array('12badge'=>'Article Contributor', '11badge'=>'League Member', '10badge'=>'Suspect Voting', '9badge'=>'Quality Control');

	$post['groupimage'] = "<a style='cursor: help' id='" . $gid . "badge'><img src='$aui' title='".$badges_tooltips[$gid.'badge']."'></a>".$post['groupimage'];

Thanks for the help. But not really. ;x
Reply
Hi just wondering with this plugin http://mods.mybboard.net/view/mods-can-t...mins-posts is going to updated for 1.6.5 i find it very useful.
Reply
Have you tried the converter? I'll update it soon.

Edit: I updated it, you can download it through the mods site.
Reply
Aha!
These are great lists of yours,
as I have been looking for such plugins
for a long time.

Thank you for this.
Reply
(2012-02-05, 03:50 AM)Jammerx2 Wrote: Have you tried the converter? I'll update it soon.

Edit: I updated it, you can download it through the mods site.

thanks i'll get it updated.
Reply
Maybe that is the reason why it was failing and causing some reasons, thanks for updating it!
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply


Forum Jump:


Users browsing this thread: 33 Guest(s)