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)

Jase2 05-21-2008 05:06 PM

I see what you mean. I don't think this style was made for a different domain, though -- since Dartho only released an hack to do that not so long ago. It's simply an easy-to-use mobile style!

swissbob 05-21-2008 07:24 PM

Quote:

Originally Posted by Jase2 (Post 1527073)
I see what you mean. I don't think this style was made for a different domain, though -- since Dartho only released an hack to do that not so long ago. It's simply an easy-to-use mobile style!

Well, it's a match made in heaven. :)

I think that the titles should be fixed for both the sake of doing it properly for mobile users with decent sized screens and for those forum owners who want to run a separate domain (i.e. me).

dartho 05-21-2008 09:17 PM

Fixing up titles:

Edit the headinclude template and remove:
Code:

<title>$vboptions[bbtitle] Mobile</title>
Then edit the showthread template and add:
Code:

<title>$thread[prefix_plain_html] $thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
after the text $headinclude


Then edit the forumdisplay template and add:
Code:

<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
after the text $headinclude


Then edit the FORUMHOME template and add:
Code:

<title>$vboptions[bbtitle] Mobile</title>
after the text $headinclude

dartho 05-21-2008 09:27 PM

In relation to search engines. I started showing this style to Yahoo (my ranking sucks on Yahoo anyway, so I wasn't too concerned about negative side effects and it's always crawling with Yahoo spiders) only yesterday and noticed that my bandwidth usage for the day dropped significantly!

It's hard to tell after only a day, but anywhere between 25% and 50% which is 250 - 500MB on my site!

swissbob 05-21-2008 10:15 PM

Thanks for the titles solution. That will make a huge difference. I love this style on a separate domain that you have created.

Now we just need a hook and plugin for the adsense. Any idea how to add those?

We shouldn't underestimate the worth of the mobile Adsense. I have one other site (not a forum) that has a mobile version and the mobile adsense consistently out performs the main adsense, despite having about 1/3 of the traffic.

dartho 05-22-2008 02:02 AM

New version released - Changes above (post 113) have now been integrated, also added ad_location hooks (be aware that if you have an ad management system these may now be used and display non mobile ads in your style!)

I also played with integrating Google Mobile Adsense - I have done it (I think - it may take a couple days for teh ads to start showing, but it looks promising from the HTML source code of my site) on SHOWTHREAD as below:

Edit: See post 134 for mobile ads integration information...

TechGuy 05-22-2008 03:25 AM

Looks great! Even Opera Mobile likes it. :)

Hornstar 05-22-2008 09:31 AM

I installed it, and selected it on my pc, but how do I go back to my other skin now? I dont see any skin selection drop down box.

swissbob 05-22-2008 09:39 AM

Quote:

Originally Posted by dartho (Post 1527512)
Anyone want to test this stuff and let us know how it goes? I've added all the other ad_location hooks - just need to determine the best vbulletin hooks to use to populate them.

OK, my ads haven't appeared yet, but some test text is in place, thank you.

As for locations, which hooks have you included? showthread_start appears to put the ad code right at the top, above the HEAD section, which I think will cause it to fail validation and breaks the cookies for mobile browsers (i.e. breaks the website).

Ideally, we would want it after the HEAD, and just before the content. Any idea which hook corresponds to this position for every page?

Hornstar 05-22-2008 09:57 AM

Thanks, ive noticed a few slight things, but hopefully you will continue to update and support this skin, because it looks promising! thanks.


Just wonder tho, I have a donation hack installed and it is showing on my mobilie skin, any idea how I will remove this from just the mobile skin? www.gamerzneeds.net/forums

Thanks.


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