The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Move and replace images

View previous topic View next topic Go down

Solved Move and replace images

Post by FIB on February 20th 2015, 10:11 am

Is it possible to do this...




New images



Note: My board is phpbb2


Last edited by FIB on February 27th 2015, 8:34 pm; edited 2 times in total

FIB
Forumember

Male Posts : 490
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Move and replace images

Post by Ange Tuteur on February 20th 2015, 10:54 am

Hello @FIB,

Go to Administration Panel > Display > Templates > General > viewtopic_body Edit

Find :
Code:
                  <!-- BEGIN switch_vote_active -->
                  <div class="vote gensmall">
                     <!-- BEGIN switch_vote -->
                     <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
                     <!-- END switch_vote -->

                     <!-- BEGIN switch_bar -->
                     <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
                        <!-- BEGIN switch_vote_plus -->
                        <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
                        <!-- END switch_vote_plus -->

                        <!-- BEGIN switch_vote_minus -->
                        <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
                        <!-- END switch_vote_minus -->
                     </div>
                     <!-- END switch_bar -->

                     <!-- BEGIN switch_no_bar -->
                     <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
                     <!-- END switch_no_bar -->

                     <!-- BEGIN switch_vote -->
                     <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
                     <!-- END switch_vote -->
                  </div>
                  <!-- END switch_vote_active -->

and replace by :
Code:
<!-- BEGIN switch_vote_active -->
                                                  <div class="vote gensmall">
              <!-- BEGIN switch_bar -->
                     <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
                        <!-- BEGIN switch_vote_plus -->
                        <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
                        <!-- END switch_vote_plus -->

                        <!-- BEGIN switch_vote_minus -->
                        <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
                        <!-- END switch_vote_minus -->
                     </div>
                     <!-- END switch_bar -->
                                                  </div>
<!-- END switch_vote_active -->

Find :
Code:
                  {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}

and replace by :
Code:
                  <!-- BEGIN switch_vote_active -->
                  
                     <!-- BEGIN switch_vote -->
                                                  <a style="margin:0 3px" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i38.servimg.com/u/f38/18/92/97/77/plus10.png" alt="+"/></a>
                     <!-- END switch_vote -->


                     <!-- BEGIN switch_vote -->
                                                  <a style="margin:0 3px" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src="http://i38.servimg.com/u/f38/18/92/97/77/captur41.png" alt="-"/></a>
                     <!-- END switch_vote -->
                  <!-- END switch_vote_active -->
                  {postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}

Save and publish Add

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Move and replace images

Post by FIB on February 20th 2015, 11:04 am

Thank you again Ange worked perfectly

FIB
Forumember

Male Posts : 490
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Move and replace images

Post by Ange Tuteur on February 20th 2015, 11:08 am

You're welcome ^^

Topic archived

Have a great day. Mr. Green

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Move and replace images

Post by Ange Tuteur on February 27th 2015, 5:26 pm

Reopened at author's request

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Move and replace images

Post by FIB on February 27th 2015, 5:29 pm

Sorry to be a pain in the rear but would it be possible to make some changes to this as shown below?


FIB
Forumember

Male Posts : 490
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Move and replace images

Post by Ange Tuteur on February 27th 2015, 6:35 pm

Okay, reopen the viewtopic_body template.

Find and remove :
Code:
                  <!-- BEGIN switch_vote_active -->
                 
                    <!-- BEGIN switch_vote -->
                                                  <a style="margin:0 3px" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i38.servimg.com/u/f38/18/92/97/77/plus10.png" alt="+"/></a>
                    <!-- END switch_vote -->


                    <!-- BEGIN switch_vote -->
                                                  <a style="margin:0 3px" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src="http://i38.servimg.com/u/f38/18/92/97/77/captur41.png" alt="-"/></a>
                    <!-- END switch_vote -->
                  <!-- END switch_vote_active -->

Find :
Code:
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
         <span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
            <span class="postdetails poster-profile">
            {postrow.displayed.POSTER_RANK}<br />
            {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
            <!-- BEGIN profile_field -->
            {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->
            {postrow.displayed.POSTER_RPG}
         </span><br />
         <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>

Replace by :
Code:
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
         <span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
            <span class="postdetails poster-profile">
            {postrow.displayed.POSTER_RANK}<br />
            {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
            <!-- BEGIN profile_field -->
            {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->
            {postrow.displayed.POSTER_RPG}
         </span><br />
         <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
                  <!-- BEGIN switch_vote_active -->
          <div>
                    <!-- BEGIN switch_vote -->
                                                  <a style="margin:0 3px" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}"><img src="http://i38.servimg.com/u/f38/18/92/97/77/plus10.png" alt="+"/></a>
                    <!-- END switch_vote -->


                    <!-- BEGIN switch_vote -->
                                                  <a style="margin:0 3px" href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}"><img src="http://i38.servimg.com/u/f38/18/92/97/77/captur41.png" alt="-"/></a>
                    <!-- END switch_vote -->
                  </div>
                  <!-- END switch_vote_active -->
      </td>

Save and publish Add

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Move and replace images

Post by FIB on February 27th 2015, 8:33 pm

Thank you once again Ange you are a STAR.

FIB
Forumember

Male Posts : 490
Reputation : 2
Language : English
Location : UK

http://ourbulgariaforum.freeforums.eu/

Back to top Go down

Solved Re: Move and replace images

Post by SLGray on February 27th 2015, 9:40 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum