Karma Mod 1.2.3.

Post Reply
User avatar
itsallaboutmusic
Donor
Donor
Posts: 102
Joined: Wed Dec 15, 2010 8:42 pm

Karma Mod 1.2.3.

Post by itsallaboutmusic » Sat Dec 18, 2010 1:33 pm

Hi,

Porspoace this mod works fine i.e. the icons show up fine in the user profile to the left of a topic.


Bluespace, same mod edits and the icons will not show up.

Checked my edits a five times so I am wondering what the issue is.

Three edit control this area

Find in styles/prosilver/imageset/imageset.cfg
Code: Select all
img_icon_user_warn = icon_user_warn.gif*20*20
Add after
Code: Select all
# [+] Karma MOD
img_icon_karma_increase = icon_karma_increase.gif*20*20
img_icon_karma_decrease = icon_karma_decrease.gif*20*20
# [-] Karma MOD
The only dif in the above is your gif is *20*27


Find in styles/prosilver/template/memberlist_view.html
Code: Select all
		</dl>
	</div>
Add Before
Code: Select all
		<!-- [+] Karma MOD //-->
		<!-- IF S_KARMA -->
			<dt>{L_KARMA}:</dt>
			<dd>{KARMA}<!-- IF U_KARMA_COMMENTS --> | <strong><a href="{U_KARMA_COMMENTS}">{L_KARMA_USER_COMMENTS}</a></strong><!-- ENDIF -->
				<!-- IF U_KARMA_INCREASE || U_KARMA_DECREASE -->
				<br />
				<span class="karma-icons">
				<!-- IF U_KARMA_INCREASE --><span class="karma-increase-icon"><a href="{U_KARMA_INCREASE}" title="{L_KARMA_INCREASE}"><span>{L_KARMA_INCREASE}</span></a></span><!-- ENDIF -->
				<!-- IF U_KARMA_DECREASE --><span class="karma-decrease-icon"><a href="{U_KARMA_DECREASE}" title="{L_KARMA_DECREASE}"><span>{L_KARMA_DECREASE}</span></a></span><!-- ENDIF -->
				</span>
			<!-- ENDIF -->
			</dd>
		<!-- ENDIF -->
		<!-- [-] Karma MOD //-->
Find in styles/prosilver/template/viewtopic_body.html
Code: Select all
		<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
Add Before
Code: Select all
		<!-- [+] Karma MOD -->
		<!-- IF postrow.S_KARMA_ENABLED -->
			<!-- IF postrow.U_KARMA_COMMENTS -->
				<dd><a href="{postrow.U_KARMA_COMMENTS}"><strong>{L_KARMA}:</strong> {postrow.KARMA}</a></dd>
			<!-- ELSE -->
				<dd><strong>{L_KARMA}:</strong> {postrow.KARMA}</dd>
			<!-- ENDIF -->
			<!-- IF postrow.U_KARMA_INCREASE || postrow.U_KARMA_DECREASE -->
				<dd>
					<span class="karma-icons">
					<!-- IF postrow.U_KARMA_INCREASE --><span class="karma-increase-icon"><a href="{postrow.U_KARMA_INCREASE}" title="{L_KARMA_INCREASE}"><span>{L_KARMA_INCREASE}</span></a></span><!-- ENDIF -->
					<!-- IF postrow.U_KARMA_DECREASE --><span class="karma-decrease-icon"><a href="{postrow.U_KARMA_DECREASE}" title="{L_KARMA_DECREASE}"><span>{L_KARMA_DECREASE}</span></a></span><!-- ENDIF -->
					</span>
				</dd>
			<!-- ENDIF -->
		<!-- ENDIF -->
		<!-- [-] Karma MOD -->
Last edited by itsallaboutmusic on Tue Feb 26, 2013 10:29 am, edited 4 times in total.


User avatar
itsallaboutmusic
Donor
Donor
Posts: 102
Joined: Wed Dec 15, 2010 8:42 pm

Re: Karma Mod 1.2.3.

Post by itsallaboutmusic » Sat Dec 18, 2010 2:55 pm

Solution:
Code: Select all
   <!-- [+] Karma MOD -->
          <!-- IF postrow.S_KARMA_ENABLED -->
             <!-- IF postrow.U_KARMA_COMMENTS -->
                <dd><a href="{postrow.U_KARMA_COMMENTS}"><strong>{L_KARMA}:</strong> {postrow.KARMA}</a></dd>
             <!-- ELSE -->
                <dd><strong>{L_KARMA}:</strong> {postrow.KARMA}</dd>
             <!-- ENDIF -->
             <!-- IF postrow.U_KARMA_INCREASE || postrow.U_KARMA_DECREASE -->
                <dd>
                   <span class="karma-icons">
                   <!-- IF postrow.U_KARMA_INCREASE --><span class="karma-increase-icon"><a href="{postrow.U_KARMA_INCREASE}"}"><img src="{T_IMAGESET_PATH}/icon_karma_increase.gif" title="[+]"><span></span></a></span><!-- ENDIF -->
                   <!-- IF postrow.U_KARMA_DECREASE --><span class="karma-decrease-icon"><a href="{postrow.U_KARMA_DECREASE}"}"><img src="{T_IMAGESET_PATH}/icon_karma_decrease.gif" title="[+]"><span></span></a></span><!-- ENDIF -->
                   </span>
                </dd>
             <!-- ENDIF -->
          <!-- ENDIF -->
          <!-- [-] Karma MOD -->
Last edited by itsallaboutmusic on Tue Feb 26, 2013 10:29 am, edited 3 times in total.

User avatar
spaceace
Site Owner
Site Owner
Posts: 910
Joined: Wed Dec 16, 2009 8:30 pm
Location: Ontario, Canada
Flag: Canada
Contact:

Re: Karma Mod 1.2.3.

Post by spaceace » Sat Dec 18, 2010 3:11 pm

i just registered on your site. it looks to me like the mod is incomplete as the buttons do not show correctly.
Last edited by spaceace on Tue Feb 26, 2013 10:29 am, edited 2 times in total.
if you like my work and would like to contribute to my development of styles, please donate by using the donate button in the header.

Image

Image

User avatar
itsallaboutmusic
Donor
Donor
Posts: 102
Joined: Wed Dec 15, 2010 8:42 pm

Re: Karma Mod 1.2.3.

Post by itsallaboutmusic » Sat Dec 18, 2010 3:21 pm

Look at the solution they work now in both :)
Last edited by itsallaboutmusic on Tue Feb 26, 2013 10:29 am, edited 2 times in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest