vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=195)
-   -   Mobile/Cell Phone Style (https://vborg.vbsupport.ru/showthread.php?t=151186)

Jase2 02-13-2008 10:33 PM

Hi dartho,

do you plan on releasing this for vb 3.7?

I tried to install the product and got the xml error.

Well, I got the xml error with this hack you released - https://vborg.vbsupport.ru/showthrea...ghlight=mobile

I'm running vB 3.7 BETA 4.

Regards Jason :)

Lee A Burnett 02-18-2008 02:41 AM

Any ideas on how one could incorporate ads from Google Adsense for Mobile?

EDIT: NM, figured it out.

To do it, create a php page say "googlead.php" and insert the php code from Google Adsense. Then load it to your server. Next create a plug-in for vbulletin with hook location at 'global_start' with this code:

Code:

ob_start();
include('/path/to/file/googlead.php');
$mobileads = ob_get_contents();
ob_end_clean();

Then insert

$mobileads

into the header template, or wherever you want the ad to appear.

dartho 02-25-2008 03:08 AM

Thanks for this.

I'd guess you could put the contents of the '/path/to/file/googlead.php' file in place of the include('/path/to/file/googlead.php'); line, but by using an include you reduce memory overheads.

RedGTiVR6 02-27-2008 05:44 PM

Quote:

Originally Posted by Jase2 (Post 1442564)
Hi dartho,

do you plan on releasing this for vb 3.7?

I tried to install the product and got the xml error.

Well, I got the xml error with this hack you released - https://vborg.vbsupport.ru/showthrea...ghlight=mobile

I'm running vB 3.7 BETA 4.

Regards Jason :)

I'd be interested in knowing if this will be supported in 3.7 as well.

dartho 02-27-2008 08:29 PM

current version works under 3.7B4 for teh forums, just choose to ignore the version. It does however have no support for all the new stuff such as photos and social groups

ricker 02-29-2008 06:04 PM

I've tried to read through these 13 pages carefully, but perhaps I missed it.

If you take a look here at the thread display and want to go back to the thread list via the forum link at the top, (in this case it's "Your Rockin' Jeep"), clicking it takes you back one level too far I think. I was expecting to see the thread list, not the forum link. Is this happening for anyone else, and/or is there a fix?

Thanks so much.

dartho 03-01-2008 02:49 AM

I'll look into - remind me in a week if I haven't done something by then :)

ricker 03-03-2008 04:07 PM

dartho - I just gotta say, YOU ROCK! This style is very clever in many ways, and I appreciate all the work you've put into it. Thank you!

NavS 03-04-2008 01:55 AM

I keep getting invalid file specified when I upload the xml file through the plugin manager....

dartho 03-04-2008 02:30 AM

This isn't a plugin or product, it's a style. To install you need to expand "Styles and Templates", then go into the "Download / Upload Styles" option.

Then in the "Import Style XML File" section, browse for the XML file, Click the "Yes" radio button for "Ignore Style Version" and then click on the "Import" Button...

This style is best used in conjunction with the Mobile Device Style Assignment or Different Domain Different Style addon


All times are GMT. The time now is 11: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.01289 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_code_printable
  • (1)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