Minor template error in memberlist.html (w/ Fix)

For my developed themes, specially reDesign. Please make different topic for every problem.
Reply to topicReply to topic Printer Friendly Page
Forum FAQSearchView unanswered posts

Minor template error in memberlist.html (w/ Fix)

Post Posted: 8.01.09. 17:48:18

In reDesign/template/memberlist.html look for around line 26:
Code:
      <td class="{memberrow.ROW_CLASS}" align="center"><!-- IF memberrow.WWW_IMG --><div class="ml_icon www_image" style="background-image: url('{WWW_IMAGE}');">{memberrow.PM_IMG}</div><!-- ENDIF --></td>

and replace with:
Code:
      <td class="{memberrow.ROW_CLASS}" align="center"><!-- IF memberrow.WWW_IMG --><div class="ml_icon www_image" style="background-image: url('{WWW_IMAGE}');">{memberrow.WWW_IMG}</div><!-- ENDIF --></td>


This should get the link pointing to the member's website instead of the PM module. Seems to allpy to most later versions of reDesign (although perhaps fixed in CVS).

layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
L:U8.1/A:2.2.8/M:5.0.51a/P5.2.5/D:9.2.1

layingback
Tõusmas kõrgemale
Tõusmas kõrgemale
 

Re: Minor template error in memberlist.html (w/ Fix)

Post Posted: 8.01.09. 19:01:30

Yup, fixed in revision 1.4

dragonflycms.org/cvs/t...slist.html

Madis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.5/9.2.1

Madis
Administraator
Administraator
 

Re: Minor template error in memberlist.html (w/ Fix)

Post Posted: 21.01.09. 18:47:54

I'm using version 1.6 of this file but my memberslist is not showing the images for the pm link or www link.

It is appearing to look for an image at themes/reDesign/images/forums/lang_/icon_contact_www.gif

i.e. it is missing the 'english' bit from the lang directory call.

rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.91/5.2.8/9.2.1

rosbif
Tõusmas kõrgemale
Tõusmas kõrgemale
 

Re: Minor template error in memberlist.html (w/ Fix)

Post Posted: 21.01.09. 18:51:22

Thanks for reporting this. Seems this bug occurs only if site hasn't enabled multilanguage.

You can fix it in theme.php by adding $currentlang to global list in function themeheader().

Will also be fixed for next version.

Thanks again.

Madis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.0.63/5.0.67/5.2.5/9.2.1

Madis
Administraator
Administraator
 

Re: Minor template error in memberlist.html (w/ Fix)

Post Posted: 21.01.09. 21:20:24

Works perfectly, thank you

rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/2.2.11/5.0.91/5.2.8/9.2.1

rosbif
Tõusmas kõrgemale
Tõusmas kõrgemale
 
Page 1 of 1



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum