vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Template edit - need help

This is a discussion on Template edit - need help within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, I'm trying to make a template edit, so I edited postbit_legacy. I have a code like this: Code: <if ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > General Discussion

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-11-2008, 07:23 AM
Member
 
Real Name: Goran
Join Date: Jan 2008
Posts: 43
Template edit - need help

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:
not:
so #post127626 part is what I don't need, I hop you understand my problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 07-11-2008, 10:21 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,597
You can try this:
HTML Code:
croportal_url = '$_SERVER[VBSEO_URI]';
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 07-11-2008, 01:34 PM
Member
 
Real Name: Goran
Join Date: Jan 2008
Posts: 43
I had to add this, but it's working,thanks!
Code:
croportal_url = 'http://www.dojaja.biz/$_SERVER[VBSEO_URI]';
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Tags
edit, postbit

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
putting social bookmarks in by manual template edit, not showing in all forums FightRice General Discussion 3 04-03-2008 08:22 PM
Quick edit bug still there... dutchbb Bug Reporting 14 08-21-2006 10:57 AM
style edit? MentaL Off-Topic & Chit Chat 1 01-19-2006 12:26 AM
When I edit a post I get this.... BamaStangGuy Troubleshooting 3 11-25-2005 08:02 PM


All times are GMT -4. The time now is 10:23 PM.


Powered by vBulletin Version 3.8.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.