vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   template edits (https://vborg.vbsupport.ru/showthread.php?t=184992)

goranbaxy 07-11-2008 09:28 AM

template edits
 
Hi,
I'm trying to make a template edit, so I edited postbit_legacy.

I have a code like this:

Code:

<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
<div style="float: right; height: 200px;">
<script type="text/javascript">
croportal_url = 'Pronađen neobjavljeni album Jimija Hendrixa -';
</script>
<script src="http://www.croportal.net/assets/js/croportal.js" type="text/javascript"></script>

</div>
</if>

where I need to somehow replace
Code:

http://www.dojaja.biz/dforum/muzika/pronaden-neobjavljeni-album-jimija-hendrixa-5959.html
"
with some variable of current url.

One other thing is that I link must be to a first post, so like:
Code:

http://www.dojaja.biz/dforum/muzika/pronaden-neobjavljeni-album-jimija-hendrixa-5959.html
not:
Code:

http://www.dojaja.biz/dforum/muzika/pronaden-neobjavljeni-albu
m-jimija-hendrixa-5959.html#post127626

so #post127626 part is what I don't need, I hop you understand my problem.

I'm using VBseo

Dismounted 07-11-2008 09:32 AM

This is part of vBSEO's URL rewriting scheme, so you should ask over at their boards.


All times are GMT. The time now is 01:01 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.01085 seconds
  • Memory Usage 1,708KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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