Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2007, 08:11 AM
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
Location: You don't wanna know
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vB variables are working on posts?

First of all, no is not about that hack that allows you to use $ variables in posts.
Now that I've said that I'll show you what I dont understand
-----------------------------------

I have this in the CSS of my style (I placed the fulllinks on the css so it works from other places too in case you want to test it or something)

HTML Code:
.plantCab{
	border: 1px solid black;
	width:700px;
	padding-top:5px; 
	padding-left:10px; 
	height:30px;
	font-size: 20px;
	font-weight: bold;
	text-align: left;
	valign:middle; 
	background-image:url(http://www.elrincondelmanga.com/foro/images/chestnut/gradients/gradient_tcat.gif);
}

			/* Pie de la plantilla */

.plantPie{
	border: 1px solid black;
	width:700px;
	color: #51473d;
	padding-top:10px; 
	padding-right:10px; 
	height:25px;
	text-align: right;
	valign:middle; 
	font-weight: bold;
	background-image:url(http://www.elrincondelmanga.com/foro/images/chestnut/gradients/gradient_tcat.gif);
}
.separador{
	border: 1px solid black; 
	border-width: 1px 1px 1px 1px;
	font-weight: bold;
	width: 680px;
	height: 25px;
	padding-top:10px;
	padding-left:10px;
	text-align: left;
	background-image:url(http://www.elrincondelmanga.com/foro/images/chestnut/misc/fond_bouton.gif);
}
.seccion{
	width:670px;
	padding-top:10px;
	padding-left:10px;
	padding-bottom:10px;
	padding-right:10px;
	background: #dfdcd2;
	border: 1px solid black; 
	border-width: 0px 1px 0px 1px;
	background-image:url(http://www.elrincondelmanga.com/foro/images/j/fondogeneral.gif);
	padding:25;
}
and when I post this, somehow it works. It means the seccions hide and show (is not permanent tho) and the image somehow changes

PHP Code:
<div align="center"><div class="plantCab" title="El Pu?o de la Estrella del Norte">El Pu?o de la Estrella del Norte</div><div class="separador"><a style="float:$stylevar[right]href="#top" onClick="return toggle_collapse('otroz')"><img id="collapseimg_otroz" src="/foro/images/chestnut/buttons/collapse_tcat.gif" alt="" border="0" /></aasdfasdfasdf</div><div class="seccion" id="collapseobj_otroz" style="$vbcollapse[collapseobj_otroz]">1 2 3 4 <br />5 6 7 8</div><div class="separador"><a style="float:$stylevar[right]href="#top" onClick="return toggle_collapse('otros')"><img id="collapseimg_otros" src="/foro/images/chestnut/buttons/collapse_tcat.gif" alt="" border="0" /></aasdfasdfasdf</div><div class="seccion" id="collapseobj_otros" style="$vbcollapse[collapseobj_otros]">a b c d <br />d e f g</div><div class="plantPie"><a href="#">El Rinc?n Del Manga</a> ? 2007</div></div
My question is, how is this posible? I placed an attachment with a gif showing how that code is working. That is within a post, no templat edits or anything.

Thank you, I hope someone has an explanation of somesort :O
Attached Images
File Type: gif css-html-$.gif (41.9 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:36 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.11851 seconds
  • Memory Usage 2,203KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete