vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [Question] help me plz (https://vborg.vbsupport.ru/showthread.php?t=121480)

Mouse_cats 07-18-2006 08:41 AM

[Question] help me plz
 
hi all,

i want a button of the reporting the post to be previewed like this in this picture plz look at the before and after pictures:

Before:
http://img105.imageshack.us/img105/5823/18wl2.jpg


After:
http://img78.imageshack.us/img78/5075/23fq2.jpg

plz tell me how can i make it?

Rickie3 07-18-2006 09:24 AM

1 Attachment(s)
go to adminCP,select vBulleting Options,then when the window opens select Style & Language Settings,then scroll down to Use Legacy (Vertical) Postbit Template tick NO then hit save at the bottom

Mouse_cats 07-18-2006 10:13 AM

thanks but i dont want to use this view as u can see from the picture that its vertical but the buttons in the top not like you gave me plz can u tell me another way?

Rickie3 07-18-2006 10:45 AM

maybe in postbit_legacy template find
Code:

<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
and place somewhere at the top of the postbit_legacy template where you want it,I may be wrong its only a suggestion

Mouse_cats 07-18-2006 11:11 AM

ok thanks for helping i will try it and i will post a reply

thanks its working thanks alot

and here is how to do it:
first search for that code:
PHP Code:

<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]border="0" /></a></if> 

then cut it and search for postcount and add below this code:
PHP Code:

<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]border="0" /></a></if> 


thats it thanks again

Terminatoronly 04-04-2007 12:12 PM

thats nice :D


All times are GMT. The time now is 08:43 PM.

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.01291 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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