vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - "See More" Google Custom Search (Lite) - Increase Adsense revenue! (https://vborg.vbsupport.ru/showthread.php?t=312264)

Marv 07-14-2014 08:48 AM

Hi tpearl,
always try before you buy ;)

I gave it a try on my httpd and so far it worked - almost - fine. But there is an issue with special chars, like the german ?,?,?,? or @ and € and so on. Sorry to say that, but it messes the whole search site up - from the header to the footer.
May be you could come up with a workaround for that? Would be nice. Thx!

tpearl5 07-14-2014 01:47 PM

Quote:

Originally Posted by Emad ELsayed (Post 2506679)
I did this
But the same problem
Strangely there is no problem with English titles

Quote:

Originally Posted by Marv (Post 2506689)
Hi tpearl,
always try before you buy ;)

I gave it a try on my httpd and so far it worked - almost - fine. But there is an issue with special chars, like the german ?,?,?,? or @ and ? and so on. Sorry to say that, but it messes the whole search site up - from the header to the footer.
May be you could come up with a workaround for that? Would be nice. Thx!

Try the attached. Make sure to select 'allow overwrite'. I have no easy way to test this since I don't have a site that uses non-english characters.

Marv 07-14-2014 03:00 PM

Thanks tpearl, but this xml isn´t working. With this one the mod isn´t working at all. But - shouldn´t it be the gsearch.php, that needs the tweaking? Just wondering, no offense.

tpearl5 07-14-2014 04:34 PM

Quote:

Originally Posted by Marv (Post 2506740)
Thanks tpearl, but this xml isn?t working. With this one the mod isn?t working at all. But - shouldn?t it be the gsearch.php, that needs the tweaking? Just wondering, no offense.

Okay, how about this? I'm thinking it has something to do with the characters not being saved correctly in the code that creates the see more link. gsearch just displays the page and has data passed to it. It already accounts for the character encoding of your site.

Emad ELsayed 07-14-2014 04:52 PM

Quote:

Originally Posted by tpearl5 (Post 2506732)
Try the attached. Make sure to select 'allow overwrite'. I have no easy way to test this since I don't have a site that uses non-english characters.

Thank you Dear
I hope a solution in the next release
Best regards

puertoblack2003 07-15-2014 04:02 PM

Quote:

Originally Posted by tpearl5 (Post 2506661)
Did you install the latest version?

yes the latest pro version via email.

Marv 07-15-2014 06:27 PM

Quote:

Originally Posted by tpearl5 (Post 2506749)
Okay, how about this? I'm thinking it has something to do with the characters not being saved correctly in the code that creates the see more link. gsearch just displays the page and has data passed to it. It already accounts for the character encoding of your site.

Thank you for trying to sort that out, tpearl. Unfortunal, the xml hasn?t changed anything.
If noone else can reproduce this, than may be the error is a local one on my end. But i can hardly believe that. It?s only happening on gsearch.php.

BTW: meanwhile I noticed, that the see more link is placed with the hook postbit_signature_start. Shouldn?t that be postbit_signature_end as default in the lite version? At least the link is displayed between the post and above the signature.

tpearl5 07-15-2014 07:11 PM

Quote:

Originally Posted by Marv (Post 2506945)
Thank you for trying to sort that out, tpearl. Unfortunal, the xml hasn?t changed anything.
If noone else can reproduce this, than may be the error is a local one on my end.

BTW: meanwhile I noticed, that the see more link is placed with the hook postbit_signature_start. Shouldn?t that be postbit_signature_end as default in the lite version?

Can you post the URL of a see more link with special characters in it? Are you matching the character encoding on Google Search to that of your forum?

actually it doesn't use that hook at all in the lite version - it's appended to the post to place it after the signature.

tpearl5 07-15-2014 07:12 PM

Quote:

Originally Posted by puertoblack2003 (Post 2506924)
yes the latest pro version via email.

Can you post the see more link too? Don't need the full URL just everything after and including gsearch.php

Marv 07-15-2014 09:44 PM

Quote:

Originally Posted by tpearl5 (Post 2506959)
Can you post the URL of a see more link with special characters in it? Are you matching the character encoding on Google Search to that of your forum?

actually it doesn't use that hook at all in the lite version - it's appended to the post to place it after the signature.

May be you got me wrong, tpearl. The search results from the custom search are perfect. The issue is only appearing in the header and in the footer. Parts, which are inlcuded by global.php.
My forum is using 8859-1. In the see-more-link the charset "8859-1" is referenced and thats working. But only for the custom search results - not for the part coming from global.php.


All times are GMT. The time now is 11:37 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.01350 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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