vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - vB Google Search Cloud - SEO (https://vborg.vbsupport.ru/showthread.php?t=178714)

VeeDubZ 05-16-2008 04:25 PM

I get this error with the latest version

Quote:

Fatal error: Call to undefined function: stripos() in /home/repti5/public_html/search_cloud.php on line 48

NeutralizeR 05-16-2008 04:28 PM

Quote:

Originally Posted by VeeDubZ (Post 1521759)
I get this error with the latest version

What's your PHP version?

Check this:
http://forum.mambo-foundation.org/showthread.php?t=820

VeeDubZ 05-16-2008 04:54 PM

Php v4.4.7.....so changing all the stripos to strpos will solve the problem???
done that now i get

Quote:

Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT * FROM vb_google_searches order by hits DESC limit 50;

MySQL Error : Table 'repti5_vb.vb_google_searches' doesn't exist
Error Number : 1146
Request Date : Friday, May 16th 2008 @ 11:01:38 AM
Error Date : Friday, May 16th 2008 @ 11:01:38 AM
Script : http://www.reptilicious.com/index.php
Referrer : http://www.reptilicious.com/index.php
IP Address : 90.195.31.245
Username : VeeDubZ
Classname : vb_database
MySQL Version : 5.0.45-community

Magnumutz 05-16-2008 05:02 PM

I'm getting the same error:
Code:

Fatal error:  Call to undefined function:  stripos() in /home/magnum/public_html/arcademania/search_cloud.php on line 48

On PHP 4.4.6... Will this mod not work for me?

VeeDubZ 05-16-2008 05:16 PM

ok ive updated the servers php to v5.2.5 and i still get the above database error

NeutralizeR 05-16-2008 05:28 PM

Quote:

Originally Posted by Magnumutz (Post 1521798)
I'm getting the same error:
Code:

Fatal error:  Call to undefined function:  stripos() in /home/magnum/public_html/arcademania/search_cloud.php on line 48

On PHP 4.4.6... Will this mod not work for me?

Try what VeeDubZ did. I'll check further and change the function to PHP 4 compatible version if i can.

Quote:

Originally Posted by VeeDubZ (Post 1521812)
ok ive updated the servers php to v5.2.5 and i still get the above database error

Check your "google_searches" table's full name with phpmyadmin or from vbulletin's repair/optimize tables feature and type here.

VeeDubZ 05-16-2008 05:43 PM

right found the problem.....the table prefix is missing....on my database it should be like this"vb_google_searches"

you need to update the product to take the prefix into account

EDIT

just looked at the product file and it should have worked...sorted it now

NeutralizeR 05-16-2008 05:57 PM

Quote:

Originally Posted by VeeDubZ (Post 1521841)
right found the problem.....the table prefix is missing....on my database it should be like this"vb_google_searches"

you need to update the product to take the prefix into account

Weird... i re-installed the product and don't have this table prefix issue.

NeutralizeR 05-17-2008 10:21 AM

Quote:

Originally Posted by glennybee (Post 1517777)
Nice hack, thanks.

Is it possible to integrate this into vBadvanced CMPS?

I have created a new adv_portal_search_cloud template with the following code:

Code:

<tr class="alt1"><td>$searchcloud</td></tr>
I've also included the search_cloud.php file in the Global Advanced settings page. I see the new module on my page but it's empty, whereas I have search criteria in the cloud on forum home.

Thanks :)

vBadvanced CMPS Integration

vBa CMPS > Add Module > Template Module

Module Title: Search Cloud
Template to Include: adv_portal_searchcloud
Template Content:
HTML Code:

<tr>
<td class="$bgclass" style="text-align:justify">
$vbsearchcloud
</td>
</tr>

Use Module Wrapper Template: Yes

Open vBadvanced Main Options and add vbsearchcloud to Portal Output Global Variables box.

maidos 05-17-2008 10:43 AM

on the search cloud it jsut give me the search name links that lead me to the main site, is this normal behaviour


All times are GMT. The time now is 05:22 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.01237 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (7)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