![]() |
It shouldn't put the code at the top - it should put it in place of $ad_location['ad_showthread_beforeqr'] which appears in the showthread template. "Show Thread Start" is just a suitable hook location to run the google script to obtain the ad code for showing ads in SHOWTHREAD...
Wanna PM me your site URL so I can have a squizz? |
@hornstar - there is no style chooser with this style. You willneed to add a "&styleid=xx" (where xx is your default styleid nnumber) to the URL to get back to your default...
|
Thanks for the update, Dartho! :)
|
thanks for supported ...
i install it ... and i set up Mobile Phone / iPhone / PDA Detection and Style Assignment if i make google bot redirct to this style is good for seo or bad ? |
@Mr.samy - not sure if this would improve SEO or not. There is one question in my mind however - I *believe* that you must present search engines with teh same content as you do visitors otherwise you risk being dropped from search engine data bases for trying to deceive them. If someone in the know could share, that'd be great.
|
Quote:
The problem is that if the risk doesn't pay off and the site gets banned it is a nightmare trying to get back in. |
Quote:
|
You could edit your footer template and add the following at the very top of the template:
Code:
<if condition="$show['quickchooser']"> |
Quote:
eg: Code:
<td><a href="http:/index.php?styleid=xx">Switch to Default Style</a></td> |
You're right - need to include some javascript as well .... oops..
|
I've looked through the vBulletin js files and pulled out he script needed to make the quick style chooser work - this will of course only work on mobile devices that support javascript and if teh style is not being force by an add-on.
Add the following to the very top of your footer template: Code:
<if condition="$show['quickchooser']"> Just add: Code:
<if condition="$show['quickchooser']"> Code:
<div> |
Dartho, are your adsense ads appearing yet? I have nothing.
|
No - having played with it a little more, I think something is not quite right with it. Also I noticed that at one stage I got the ads, but after a couple refreshes the ads vanished and I was back to only having comments? :confused:
|
OK - I think I have working properly now. Code for plugin below. Ads don;t show up all teh time and after a bunch of refreshes they go a way for a while. This is a google thing and I guess it depends on your sites content and who is advertising? Anyway - the following seems to work for me. It is set for showing ads just before the quick reply, but you can change the ad_location in the code to show them after first post by searching and replacing ad_showthread_beforeqr for ad_showthread_firstpost in the plugin code...
Get your mobile adsense PHP code - here's the code Google game me (DO NOT USE THIS - GET YOUR OWN) PHP Code:
PHP Code:
The other changes (after moving the functions to the top) were: 1. replace PHP Code:
PHP Code:
PHP Code:
PHP Code:
ad_footer_start - global_start ad_footer_end - global_start ad_forumdisplay_afterthreads - forum_display_start ad_forumhome_afterforums - forum_home_start ad_header_end - global_start ad_header_logo - global_start ad_navbar_below - global_start ad_showthread_beforeqr - showthread_start ad_showthread_firstpost - showthread_start Hope this helps! |
That works great, dartho. Thanks!
|
Thanks TechGuy - post 134 updated with better instructions and info on showing mobile ads elsewhere on your site
|
I'm looking at making a product to go along with this style so some aspects of it may be turned on/off.
Some examples are:
What other options do you think would be good in such a product? |
Quote:
|
Titles should be fixed (ie. same as default style) as of the last version.
What do you suggest for meta tags? |
Quote:
For the Description, use the first 100 characters of the first posting in the page - this is what VbSEO does (although they use 150 characters by default. For categories, use the category description. For the keywords, perhaps use the tags and/or title without the stop words. Or just use tags where they exist and leave it blank if they don't. |
@dartho: it's nice to see how this style has evolved ! :up:
Here are a few more suggestions:
|
@RCK - Point 4 was taken care of in one of the recent versions.
At the moment, if a user is logged in they get a "New Posts" link, if they are not logged in, they get a Todays Posts link. It shouldn't be hard to have options in a 'companion product' for this style so that the navbars can be customised without template edits - good idea :up: "Mobile" is appended to the title on forum home, and forum/thread names are used in other pages (since last version I think?) I haven't yet got around to coding up a mobile search page - thus no links. If anyone has made modifications to templates/pages which they think would do well to be incorporated into this style, I'd be happy to have a look and implement them also if suitable.. |
bug report:
space isn't working in opera mobile integrated in UIQ 3.0 (M600i / P990i / P1i / W950i / W960i) when typing in the quick reply box |
Have you tried installing the latest version - 0.0.6 ? I think this was resolved there... maybe...
[Edit: sorry - re-read you post and realised you're probably talking about something different. Q. Does space work in the full style in the quick reply box from your device?] |
try to download the latest version and it doesn't seems to be fixed, i've try to use my standard skin (vbseo skin) and the space character works normally, maybe a bug in the text area formatting?
btw, as an addition, maybe you should consider to include the skin selector in this skin in case some desktop users mis-select this skin and can't revert back to the standard one :) |
Not sure how far wrong it can go... here's the code:
Code:
<div> BTW - the code for style chooser is here: https://vborg.vbsupport.ru/showpost....&postcount=131 I haven't included it by default as I don't need or want it for my implementation of this style - I don;t allow my members to choose their own styles. I will however be releasing an add-on to go with this style in the future so options such as that can be turned on and off in the AdminCP |
thanks for the tips, it works fine now by just removing that extra line and the text following it :D do you have any idea why that happen?
thanks for the style chooser code too, i appreciate that :) look forward for the additional add-on.. |
no idea :confused: I'd guess Opera just didn't like the blank line. textareas are allowed to have default text in them... If you wished to keep the message there, perhaps try without the blank line?
|
yes, the default text are okay, except the extra blank line causing space character trouble :)
|
i upgraded my forum to 3.7 JUST to use this skin
and installed and it is working fast on my pda |
Quote:
Cool about all admincp triggers you are speaking about, it seems promising :D One final think, the modifyoptions style template modification of Crimm would be a better addition than quick link chooser (javascript should be avoid for mobile device), this also could be added to admincp triggers ! ;) |
Ah - that was actually in the header at one stage, must've got lost along the way!
Crimm's suggestion also requires javascript - if it is working, then then entire vbulletin javascript must already be included somewhere. You can of course copy the code I pasted up into the modifyoptions template if that's where you want it. If someone is using a mobile device without javascript enabled then the style chooser won;t actually do anything - which is probably a good thing as a device/browser that doesn't support javascript would probably have heart failure if presented with a full vbulletin style! |
I still don't have any adsense appearing :(
|
Crimm modifyoptions template doesn't require javascript ! :)
I mean, it only add the style selectbox into the option page, which is saved by clicking on the form input button: 'save change'. ps: it's true that full vB js code would kill any mobile device ;) |
Hello dartho, here are another suggestions.
(I got very active mobile members :p)
|
RCk - You're right *slaps head I'll keep the other suggestions in mind for the next update
@Swissbob - mine are showing up now, not all the time and not in every thread but they seem to be working. I don't actually use advertising on my site and was surprised when I saw them when browsing from my phone yesterday! |
Hi Dartho,
Hope you're well? If I am viewing a thread with multiple attachments, this style doesn't work great as it lists each attachment in one single line (i.e. it doesn't indent them), which makes the page extremely wide and therefore you have to zoom to view it (I was using Opera mini btw). There is also no gap between the names of each attachment, which makes them even harder to read/distinguish. Also, you cannot see how big an attachment is. It is really important to know this if you are using the phone as data charges are extortionate. Can these be fixed in the next version? :) (I'm using an old version so they might be fixed already?) Also: 1) - I'm very new to vBulletin and i'm not sure how I update to the newest version, can you advise? Many thanks Callum |
Great work. I like the new colors. Quick question: I'm using vBadvanced CMPS and have a left sidebar associated with search.php (among others). The older version of the mobi somehow excluded the sidebar when this theme was selected. Is there a way to disable the CMPS for this theme?
|
@CallumBush - to upgrade, I usually install fresh each time, test, and then delete the previous version when I am happy with the new one. It's safe, you can revert back to using a previous version with no trouble and you can test a new version whilst keeping the old one running for you members.
@SemperFideles - Thanks To disable (in a manner of speaking) vBadvanced, edit the adv_portal template in the mobile style and replace it's contents with the following or something similar: Code:
$stylevar[htmldoctype] You can do this by removing the left and right column block conditionals in the template in your mobile style. Find and delete the following 2 blocks of code: Code:
<if condition="$show['left_column']"> Code:
<if condition="$show['right_column']"> |
Thanks Dartho. The second option solved the problem. The first option sort of puts it into a "loop" since I have vBadvanced integrated into forums.php. Any page with that integrated would be redirected to forums.php so deleting the columns did the trick!
|
All times are GMT. The time now is 09:15 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|