vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Twitter - Tweet Button in SHOWTHREAD (https://vborg.vbsupport.ru/showthread.php?t=248569)

BirdOPrey5 08-14-2010 06:12 PM

I went to your page, it looks like whatever you're doing is working. :)

baghdad4ever 08-14-2010 07:17 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2083865)
I went to your page, it looks like whatever you're doing is working. :)


thank u very much:D

zurrie 08-14-2010 07:19 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2083863)
Another option is I see you have a facebook tag in the header/header include...
<meta property="og:url" content="YOUR CODE HERE" />
You could add the following line under that:
<link rel="canonical" href="YOUR CODE HERE" />

Use the same code you use for your facebook og:url tag in the canonical tag and that will override the URL the tweet button sends.

Hi,

1. Could you explain what is "header/header include" ?

2. is there anyway to put automativ trailing slash on your mod?

nice mode btw, thanks for sharing.

Zurrie

zelnik 08-14-2010 07:23 PM

1 Attachment(s)
I guess Showthread has changed in 4.0.6 as your edits do not work.

I've tried it above and below where you have said to enter it and do not get the desired affect.

Also on your site if you click on the number next to the tweet it finds nothing on Twitter, however I checked on DP and theirs works ok?

See attachment for location problems.

zurrie 08-14-2010 07:35 PM

1 Attachment(s)
This is looks in 4.0.5.

zurrie 08-14-2010 07:42 PM

Quote:

Originally Posted by zurrie (Post 2083907)
This is looks in 4.0.5.

update!

i change the height into 50px resolve the space in 4.0.5.

Regards,

Zurrie

BirdOPrey5 08-14-2010 08:07 PM

Quote:

Originally Posted by zurrie (Post 2083901)
Hi,

1. Could you explain what is "header/header include" ?

2. is there anyway to put automativ trailing slash on your mod?

nice mode btw, thanks for sharing.

Zurrie

The "header" or "header include" templates, accessible by Admin CP -> Styles & Templates -> Style Manager -> (Your Style) -> All Style Options... These will be the first two boxes you see. The code is probably in the second one, "header include."

When you say automatic trailing slash, do you mean to the URL sent to Twitter? I suppose it could be done if you use the canonical link tag I mentioned and typed a "/" at the end.

Quote:

Originally Posted by zelnik (Post 2083902)
I guess Showthread has changed in 4.0.6 as your edits do not work.

I've tried it above and below where you have said to enter it and do not get the desired affect.

Also on your site if you click on the number next to the tweet it finds nothing on Twitter, however I checked on DP and theirs works ok?

See attachment for location problems.

Honestly I don't have Facebook integration installed on mine so that might be what is causing the problem... however zurrie reported changing the div height to 50 seemed to fix this problem.

zelnik 08-14-2010 08:07 PM

Quote:

Originally Posted by zurrie (Post 2083911)
update!

i change the height into 50px resolve the space in 4.0.5.

Regards,

Zurrie

The sites I've seen it working on has it next to the facebook like button which looks far better than having it on top.

zurrie 08-15-2010 03:32 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2083924)
When you say automatic trailing slash, do you mean to the URL sent to Twitter? I suppose it could be done if you use the canonical link tag I mentioned and typed a "/" at the end.

Okay, what i mean is the "result URL" to twitter which is show at "short url" when you click it the result on browser will show as http://www.domain-name.comshowthread.php/XXXX

no trailing slash.

i try to remove my facebook integration but still the same twitter show no trailing slash result.

btw, reminds me which vB you are using sir?

Regards,

Zurrie

BirdOPrey5 08-15-2010 03:39 PM

I'm on 4.0.4 at the moment, will be upgrading to 4.0.6 shortly.

Can you give me a link to your forum so I can see what's going on?
PM me if you don't want it public.


All times are GMT. The time now is 03:32 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.01274 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete