Results 1 to 2 of 2

Thread: Anomaly adv_portal_newsbits

  1. #1
    Join Date
    Dec 2008
    Posts
    3

    Default Anomaly adv_portal_newsbits

    Hello I wanted to point out a small anomaly on the module news. The problem is presented in the figure because it excludes the news avatar



    Problem solved by changing the template adv_portal_newsbits


    Changing this part of code

    Code:
    	<vb:if condition="$news['avatarpath']">
    		<table width="100%">
    			<tr>
    				<td valign="top">
    					<img align="{vb:stylevar left}" style="padding:6px" alt="{vb:rawphrase xs_avatar, {vb:raw news.postusername}}" border="0" src="{vb:raw news.avatarpath}" />
    					{vb:raw news.message}
    				</td>
    			</tr>
    		</table>
    	<vb:else />
    		{vb:raw news.message}
    	</vb:if>
    to

    Code:
    	<vb:if condition="$news['avatarpath']">
    		<table width="100%">
    			<tr>
    				<td valign="top">
    					<img align="{vb:stylevar left}" style="padding:6px" alt="{vb:rawphrase xs_avatar, {vb:raw news.postusername}}" border="0" src="{vb:raw news.avatarpath}" />
    					{vb:raw news.message}
    				</td>
    			</tr>
    		</table>
    	<vb:else />
    		<table width="100%">
    			<tr>
    				<td valign="top">
    					{vb:raw news.message}
    				</td>
    			</tr>
    		</table>
    	</vb:if>


    I hope I did what I like and that this change is taken into consideration dur switching from RC to gold.

    sorry for my English

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default

    Thank you for pointing this out. I've updated the my templates locally so a fix for this will be included with the next release.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [RC2] Wrong Phrase in adv_portal_newsbits for avatars
    By KW802 in forum Bugs From 3.0 RC2
    Replies: 7
    Last Post: 10-23-2008, 10:29 AM
  2. Problem with adv_portal_newsbits
    By tresor in forum Troubleshooting & Problems
    Replies: 0
    Last Post: 05-08-2008, 12:44 PM
  3. Replies: 2
    Last Post: 01-08-2008, 12:53 AM
  4. Cannot make changes to adv_portal_newsbits?
    By larsson in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 08-08-2007, 02:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •