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)

fai99al99 07-31-2014 08:51 PM

Quote:

OK I found a solution to make it work.
I just replaced urlencode with utf8_encode and everything is fine now on my site.
didnt work for Arabic titles, return letters like this "??? ?? ????? ????? ??".

Iam not a coder, but I tried to add a function to convert text from windows-1256 to UTF8 and it worked.

tpearl5 08-01-2014 01:13 AM

1 Attachment(s)
Quote:

Originally Posted by fai99al99 (Post 2509216)
didnt work for Arabic titles, return letters like this "??? ?? ????? ????? ??".

Iam not a coder, but I tried to add a function to convert text from windows-1256 to UTF8 and it worked.

That also makes sense since utf8_encode only handles ISO-8859-1.

I've made it so this version handles every form of character encoding and just makes them all utf-8 for simplicity. It'll also handle characters that shouldn't be in a URL. Google seems to be very picky about what comes after the q=

For those of you that were having issues, please let me know if this works and I'll update the product. Unfortunately I have no easy way to test this if you couldn't tell. :)

fai99al99 08-01-2014 09:57 PM

Quote:

Originally Posted by tpearl5 (Post 2509238)
That also makes sense since utf8_encode only handles ISO-8859-1.

I've made it so this version handles every form of character encoding and just makes them all utf-8 for simplicity. It'll also handle characters that shouldn't be in a URL. Google seems to be very picky about what comes after the q=

For those of you that were having issues, please let me know if this works and I'll update the product. Unfortunately I have no easy way to test this if you couldn't tell. :)

works great :up:

tpearl5 08-04-2014 07:32 PM

Quote:

Originally Posted by fai99al99 (Post 2509359)
works great :up:

Awesome! :D

tpearl5 08-04-2014 07:57 PM

fyi, anyone looking to get this working on the mobile style, you just need to create new template under the mobile style, name is "see_more_gsearch", and copy the contents of the template with the same name in your main style into it. Google automatically adjusts things for smaller screens.

tpearl5 08-07-2014 12:45 AM

Quote:

Originally Posted by tpearl5 (Post 2509732)
fyi, anyone looking to get this working on the mobile style, you just need to create new template under the mobile style, name is "see_more_gsearch", and copy the contents of the template with the same name in your main style into it. Google automatically adjusts things for smaller screens.

and, I'll include this in the next release...

rememusa 08-21-2014 07:37 PM

Hi all,

I need help with the plugin above. I installed the plugin on my site following the instructions but it did not work for me.

I cant see the ads and I cannot see the Google Search bar.

I followed all the instructions as I was told to do so.

One stupid question Do I need to have the Vbulleting integration with Google adsense in order to this plugin to work?

I dont have that option integrated between both plataform.

Another thing is my forum site is in Portuguese, I am not sure if it affects anything because of the language.

Thank you!

tpearl5 08-22-2014 01:20 AM

Quote:

Originally Posted by rememusa (Post 2512262)
Hi all,

I need help with the plugin above. I installed the plugin on my site following the instructions but it did not work for me.

I cant see the ads and I cannot see the Google Search bar.

I followed all the instructions as I was told to do so.

One stupid question Do I need to have the Vbulleting integration with Google adsense in order to this plugin to work?

I dont have that option integrated between both plataform.

Another thing is my forum site is in Portuguese, I am not sure if it affects anything because of the language.

Thank you!

try the product file in this post: https://vborg.vbsupport.ru/showpost....&postcount=122

what happens when you go to yoursite.com/gsearch.php? Make sure that you followed the instructions exactly for the CSE setup and that you have your settings set correctly.

No, you don't need the adsense integration - no one does. haha

rememusa 08-22-2014 05:34 PM

Quote:

Originally Posted by tpearl5 (Post 2512290)
try the product file in this post: https://vborg.vbsupport.ru/showpost....&postcount=122

what happens when you go to yoursite.com/gsearch.php? Make sure that you followed the instructions exactly for the CSE setup and that you have your settings set correctly.

No, you don't need the adsense integration - no one does. haha

I tried the file and still not working. When I go to mysite.com/forum/gsearch.php? it send me to another page without showing any results or messages, plain page.

thank you

rememusa 08-22-2014 05:39 PM

Quote:

Originally Posted by rememusa (Post 2512363)
I tried the file and still not working. When I go to mysite.com/forum/gsearch.php? it send me to another page without showing any results or messages, plain page.

thank you

I do have this error message on setup my account

Error:
You did not enter a valid value for this setting.


All times are GMT. The time now is 12:12 AM.

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.01298 seconds
  • Memory Usage 1,746KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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