vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   By means of that vbulletin variable I can obtain the complete path of a post (https://vborg.vbsupport.ru/showthread.php?t=222002)

MarioN70 08-28-2009 09:31 PM

By means of that vbulletin variable I can obtain the complete path of a post
 
Hello to all, I have one questioning and it is with regard to variables of vbulletin.

For example the variable: $vboptions [bburl], it offers to me the path of the forum for example: https://vborg.vbsupport.ru/, but what I wish is to obtain the complete path of the post, for example: https://vborg.vbsupport.ru/showthread.php?t=221765.

I have been looking for the whole network(net) for the response but without major success.

If they could help me with this topic he would be grateful for them.

Regards,

--------------- Added [DATE]1251500566[/DATE] at [TIME]1251500566[/TIME] ---------------

Already well I solved it and it is of the following way:

Code:

<if condition="$threadinfo[threadid]">
        $vboptions[bburl]/showthread.php?t=$threadinfo[threadid]&goto=newpost
<else />
        $vboptions[bburl]
</if>

Thanks.

Lynne 08-28-2009 10:15 PM

There is no variable to use that is nice and simple like $vboptions[bburl]. You can use $vboptions[bburl]showthread.php?t=$threadid (That may not be exact, but you get the idea).

MarioN70 08-29-2009 01:58 PM

Thanks Lynne.


All times are GMT. The time now is 09:38 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.00935 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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