The Arcive of vBulletin Modifications Site. |
|
ragtek contact pm Details »»
|
|||||||||||||||||||||||||
This Add-on adds the contacts from the user to the new pm form.
Installation: Install the xml, if you don't have installed tms, make this: Search in pm_newpm template for: HTML Code:
<tr> <td> <if condition="$show['sendmax']"><div><phrase 1="$permissions[pmsendmax]">$vbphrase[may_send_to_x_people]</phrase></div></if> <if condition="$show['sendmultiple']"><div>$vbphrase[separate_multiple_names]</div></if> </td> </tr> </table> </fieldset> <!-- / recipients field --> HTML Code:
<if condition="$show[rag_contacts]"> <tr> <td> <table width="100%"> <thead> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('rag_pmfriends')"><img id="collapseimg_rag_pmfriends" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_rag_pmfriends].gif" alt="" border="0" /></a> $vbphrase[contacts] </td> </tr> </thead> <tbody id="collapseobj_rag_pmfriends" style="$vbcollapse[collapseobj_rag_pmfriends]"> <tr><td><table> $rag_friends </table></td></tr> </tbody> </table> </td> </tr> <script type="text/javascript"> toggle_collapse('rag_pmfriends'); </script></if> Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Whoohoo first post -- installed **
Looks great, checking it out now. Just one question, can it be made to list the contacts across the table in columns instead of down one row. I have lots of contacts and it makes for a long page. |
|
#3
|
|||
|
|||
|
I agree with htscpl's post. It should use more than one column if more than about 5 contacts.
|
|
#4
|
|||
|
|||
|
I'll try to implement it.
|
|
#5
|
|||
|
|||
|
:up: Very useful. Thanks very much.
|
|
#6
|
||||
|
||||
|
Can you put the contacts in a dropdown list using the vBmenu script instead of a collapsible table? That way, the contacts list won't take up lots of space and you don't have to code for multiple table columns.
|
|
#7
|
|||
|
|||
|
I implemented the contacts in 3 columns. If it's ok with ragtek, I'll post my changes.
|
|
#8
|
|||
|
|||
|
hi
yes it is ok ![]() my prob is the building of the table for example if there are 10 contacts and you have 3 columns there are 3 lines with 3 values and one columtn with 1 value. but this should have a colspan of 3, so that the tablehtml is right how have you solved this?*g* |
|
#9
|
|||
|
|||
|
With help of andreas i solved the prob with the columns and colspan in 1.0.3.
Here you have now 3 columns |
|
#10
|
|||
|
|||
|
Here you go. My method is different than Andreas. By default it's 3 columns. That can be changed in vboptions.
|
![]() |
|
|