vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=230)
-   -   Mobile, Cell, Phone, PDA, iPhone Style (https://vborg.vbsupport.ru/showthread.php?t=174375)

webghey 05-14-2008 02:51 AM

hey hey hey - thank u - I will look now

swissbob 05-14-2008 04:24 PM

Quote:

Originally Posted by RCK (Post 1514132)
Hello,
I don't know what is vbSEO and didn't change the 'include domain in URLs' option. But with standard vB I manage to fix the error you had.

http://www.vbseo.com

I have tried turning vBSEO off and on, and it is definitely the cause of the base href inclusion. I have asked on thieir forum if it is possible to turn it off.

In the mean time, I have been trying to install Google Mobile Adsense, without any luck. Do the hooks not work in this mobile style?

I tried a conditional clause on the style id in a new plugin like this, wrapped around the adsense code, but can't get it to appear for any of the main hooks:
Code:

if($GLOBALS[foruminfo][styleid]==8)
{
}

Admittedly my understanding and experience of the hook system is extremely limited.

Jase2 05-14-2008 04:44 PM

No, the template hooks will need to be added. I believe Dartho was going to do this, not too sure now, however. It's pretty easy to add the hooks, though. :)

TechGuy 05-14-2008 04:55 PM

FYI, I "fixed" the Opera Mobile bug by removing this code from the tagbit_wrapper template:

Code:

<img src="$stylevar[imgdir_misc]/11x11progress.gif" id="tag_form_progress" class="inlineimg" style="display:none" alt="" />

051119 05-14-2008 06:46 PM

Is it possible to turn off the 'Posted via Mobile Device' message?

Thanks!

joopster 05-14-2008 07:02 PM

Quote:

Originally Posted by Crimm (Post 1502304)
Dartho I hope you don't mind this. I HAD to get this working, so I thought I would offer everyone a bandaid until Dartho gets back. I thought I would share in case anyone is stuck after moving to 3.7 today.

Okay I had to get this working, since I have already moved to 3.7 and I have mobile users ;)

According to this post: https://vborg.vbsupport.ru/showthread.php?t=177013

If you are getting this error:

Find the following templates:

Add this just before the submit button:
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
That should at least get you by in a pinch until Dartho puts a new version up.

;)

Thanks for this but what is the submit button code?

Jase2 05-14-2008 07:33 PM

You don't need to do that now. Dartho has updated the original first post with the new download package :)

joopster 05-14-2008 10:43 PM

I am still getting that message. I have done the final update as suggested after going from 6.10 to 7 from vb.com. I don't know how to get this to work properly.

joopster 05-14-2008 10:50 PM

for some reason it works now.

oh well.

thanks!

dartho 05-14-2008 11:35 PM

Quote:

Originally Posted by Jase2 (Post 1519521)
No, the template hooks will need to be added. I believe Dartho was going to do this, not too sure now, however. It's pretty easy to add the hooks, though. :)

I did add these, and also managed to get Mobile Adsense working (with some manual work - no product for this sorry) but then trashed my dev server to do test runs on upgrading my live one... I'll look into it real soon and post an up date with the template ad hooks in and also soem guidelines on how to integrate mobile adsense...


All times are GMT. The time now is 04:40 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.04375 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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