vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Phrases Help (https://vborg.vbsupport.ru/showthread.php?t=242515)

Xencored 05-14-2010 06:27 PM

Phrases Help
 
Hello
How can i find out what phrases do what?
I need to find the phrases for URL page and the Pages Title name

Here is a example because its hard for me to explain

https://vborg.vbsupport.ru/showthread.php?t=241673

on this page it says

"5 Ways to Revive a Dead Forum - AdminFuel - Vbulletin.org - Forum"on the tab on my brower

I need the phrases for that bit so i can add to a plugin as well as the URL of the page the person is on

Again sorry its hard to explain
Thanks

borbole 05-14-2010 07:32 PM

Quote:

Originally Posted by Animemike (Post 2037052)
Hello
How can i find out what phrases do what?
I need to find the phrases for URL page and the Pages Title name

Here is a example because its hard for me to explain

https://vborg.vbsupport.ru/showthread.php?t=241673

on this page it says

"5 Ways to Revive a Dead Forum - AdminFuel - Vbulletin.org - Forum"on the tab on my brower

I need the phrases for that bit so i can add to a plugin as well as the URL of the page the person is on

Again sorry its hard to explain
Thanks

You can find all the phrases at the Languages & Phrases. Simply use the search function there to search for any phrase you want.

Xencored 05-14-2010 09:00 PM

Quote:

Originally Posted by borbole (Post 2037078)
You can find all the phrases at the Languages & Phrases. Simply use the search function there to search for any phrase you want.

Yes i know but i dont know what to search for
thats the reason i made this post :confused:

Lynne 05-14-2010 10:15 PM

You can also just find the template and look up the phrase in there if you don't know what phrase text to search for.

To find the template of interest, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

Xencored 05-15-2010 05:55 AM

Quote:

Originally Posted by Lynne (Post 2037130)
You can also just find the template and look up the phrase in there if you don't know what phrase text to search for.

To find the template of interest, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

Thanks
After looking am not sure its a phrase i need

This is what it was on wordpress

Code:

<meta property=?og:title? content=?{block:PostTitle}{PostTitle}{/block:PostTitle}?>
Are they variables? ;/

Thanks

Lynne 05-15-2010 02:22 PM

Sorry, I'm not familiar with wordpress at all, so I don't know what it's syntax means.

Xencored 05-15-2010 03:56 PM

Quote:

Originally Posted by Lynne (Post 2037418)
Sorry, I'm not familiar with wordpress at all, so I don't know what it's syntax means.

Well what i mean is how can i find out the Vbulletin ones for

URL and Page Title
Thanks

Lynne 05-15-2010 05:26 PM

Look in the code and in the templates? That's such a general question. I find variable names by looking in the code. Usually you can find the query and then find where it is spit out into a variable for use.

Xencored 05-15-2010 05:51 PM

Quote:

Originally Posted by Lynne (Post 2037511)
Look in the code and in the templates? That's such a general question. I find variable names by looking in the code. Usually you can find the query and then find where it is spit out into a variable for use.

Thanks lynne

i give up now i justcant do it thanks for the help tho

Code:

<!-- Facebook Like -->
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.myanimeisland.com/album.php?{vb:raw session.sessionurl}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:75px"></iframe>
<!-- / Facebook Like -->

All this was to try and add this button and make it show the URL and Page title
but its all over my head :D

Mike


All times are GMT. The time now is 12:51 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.01565 seconds
  • Memory Usage 1,735KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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