News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Karma On Memberlist

Started by Leaf, November 30, 2005, 10:49:21 PM

Previous topic - Next topic

TechnoDragon

Ok...this board seems to be knowlegable about the memberlist..so...maybe you can help.

I added the Skype and Ventrilo mods to my site and am tryingto add them to the memberlist...I have been successful in creating the columns and labels...but the part i am having is getting the icons for them to show like the msn and yahoo.

here is the code I would like to put in:
<td class="windowbg2">', $member['Skype']['link'] !='' ? '<a href="callto://', $message['member']['options']['skype'], '/"><img border="0" src="' . $settings['images_url'] . '/skype.gif"></a>', '</td>
<td class="windowbg2">', $member['Ventrilo']['link'] !='' ? '<a href="ventrilo://', $message['member']['options']['Ventrilo'], '" target="_blank"><img border="0" src="' . $settings['images_url'] . '/Ventrilo.gif">', '</td>


And this is what I am stuck with for right now (it doesn't cause a parse error and you can at least see the colums correctly:
<td class="windowbg2">', $member['Skype']['link'], '</td>
<td class="windowbg2">', $member['Ventrilo']['link'], '</td>


any suggestions or help would be GREATLY appreciated.
Don't tell me to get into shape...I have a shape...It is round!


Spork


Leaf

TechnoDragon, you need make more changes to fix the problem you have. Increase the column number in the karma table by two. Originally, colspan="12", after you add two new columns of Skype & Ventrilo, it should be 14. When you manually apply this mod, it should be 15 when this mod is enabled. Check my previous reply for the actual lines that shall be changed.


jdvarner

Awesome. Will this one be coming out for 1.1.1?

Jd

look up

Quote from: jdvarner on January 02, 2007, 10:57:55 PM
Awesome. Will this one be coming out for 1.1.1?

Jd
i'm curious about this as well.


perplexed

*answer own question*

no it isn't compatible with 1.1.1, just tried it and got corrupt package/not compatible warning

look up

Quote from: perplexed on February 13, 2007, 03:47:54 PM
*answer own question*

no it isn't compatible with 1.1.1, just tried it and got corrupt package/not compatible warning
thanks for being the guinea pig.

Xcat

Is it compatible with 1.1.2?

KGIII

Quote from: Xcat on March 20, 2007, 05:09:56 AM
Is it compatible with 1.1.2?

Nope. If you look at the mod's page you will see the versions that it is able to be used with.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

Xcat


KGIII

Quote from: Xcat on March 20, 2007, 05:27:22 AM
That's bad. :(

Nah, it is just what it is. People move on, mod authors move on, etc... You can, with a bit of work, probably update it to work with the current SMF version. If you do opt to do so you can/could/should release it back to the community.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

dumbelljunkie

I guess nobody made that efford yet ? ;)
SMF 1.1.2 Joomla 1.0.12 Bridge 1.1.7

Leaf

Support 1.1.4. It should work for 1.1.1-1.1.4.

perplexed

Quote from: look up on February 13, 2007, 08:10:50 PM
Quote from: perplexed on February 13, 2007, 03:47:54 PM
*answer own question*

no it isn't compatible with 1.1.1, just tried it and got corrupt package/not compatible warning
thanks for being the guinea pig.

I just recently installed it on 1.1.4 and it worked with no probs :)  Just FYI

cubetgio

#36
Hi LEAF,

I' ve got this when installing. Is that relevent ?


Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Memberlist.php Test successful
2. Execute Modification ./Themes/default/Memberlist.template.php Test failed
3. Execute Modification ./Themes/default/languages/index.english.php Test successful

Soap on a Rope

#37
I just installed this on 1.1.4. Works great. The sorting is a little odd, though. It goes zero, then negative, then positive total values. For anyone bugged by this, it's solvable - just go into the database and change the karmaBad and karmaGood columns to be signed (or no special properties) integers rather than unsigned, as they are by default. Also change them to mediumints from smallints to give the extra space that comes with being signed.


AlmazM

Good mod!
Can you make it for 2.0 version?
I really need it! :)

Advertisement: