vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Newbie Questions: How do I move the edit button? (https://vborg.vbsupport.ru/showthread.php?t=100155)

InfidelMatt 11-05-2005 01:35 PM

Newbie Questions: How do I move the edit button?
 
I would like to slide the 'edit' button at the bottom of each post to the bottom left. What do I need to do to make this happen?

Any help would be appreciated,

Matt

Nevermind, was way easier than I thought. Just threw a <span> around the link.

Pcparts 11-14-2005 08:13 PM

So how did you make it happen?

Can you tell us, because I also want to move the botton to a different place.

Thanks.

InfidelMatt 11-16-2005 01:14 AM

I did tell you how. Just throw a span tag around it!

In your postbits template, just change :

PHP Code:

<a href="$post[editlink]name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" /></a

to

PHP Code:

<span style="float: left">
<
a href="$post[editlink]name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]border="0" /></a></span

To move it to the left.

To put it somewhere else entirely just move that link to wherever you want it in postbits.

Pcparts 11-16-2005 08:48 AM

Thanks mate.

Yes you did tell, but not what code had to be to used for the desired result.

Me being not a coding guru couldn't figure that out myself.

appsfinder 02-15-2010 08:17 AM

Quote:

Originally Posted by InfidelMatt (Post 813202)
I would like to slide the 'edit' button at the bottom of each post to the bottom left. What do I need to do to make this happen?

Any help would be appreciated,

Matt

Nevermind, was way easier than I thought. Just threw a <span> around the link.


I think u could just change this <div style="margin-top: 10px" align="$stylevar[right]"> to

<div style="margin-top: 10px" align="$stylevar[left]">


All times are GMT. The time now is 06:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01135 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete