View Full Version : Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android)
Shaybloom
03-30-2013, 10:48 AM
SORRY i'm a newb but where is lightweight.css.php ?
tareqbd
03-30-2013, 03:59 PM
So they told you the same thing again? Did you let them know that adding that hook didn't appear to work for you? If not, you may want to do so.
They cannot tell further about it. Only the coder of the style can work.
Shaybloom
04-04-2013, 04:23 AM
SORRY i'm a newb but where is lightweight.css.php ?
dartho
04-04-2013, 11:53 AM
Check the dot points on either side of the 5th point I referred you to previously.
tareqbd
04-12-2013, 01:08 PM
Check the dot points on either side of the 5th point I referred you to previously.
Dartho I have tried to send you PM but your message quota was full. So, I have sent PM to you VbdeV inbox. I am sure that you can help me on that.
Thank you.
broncoshq
04-15-2013, 11:54 AM
It's a real shame this can't work with addons. I would love to be able to use dragonbyte's Thanks/Likes addon, and a few others.
Anyway to make them work easily?
dartho
04-17-2013, 10:22 AM
ain't nothing I can do if I don't know what you are talking about. links to the hacks you are asking about would go a long way ...
It's a real shame this can't work with addons. I would love to be able to use dragonbyte's Thanks/Likes addon, and a few others.
Anyway to make them work easily?
No it's not, it's a real benefit for me. Means hacks in the full style don;t get in the way on mobile devices. Just put the hooks and code that you need for hacks in the appropriate templates.
They cannot tell further about it. Only the coder of the style can work.
tareqbd - re your PM, I'm not sure without manually looking through the templates which I'm sure you are capable of doing
Filgga
04-19-2013, 03:23 AM
That's not using the new_reply template that comes with this style, or you have an add-on doing stuff. The new_reply template should be:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}">
<head>
{vb:raw headinclude}
<title>{vb:raw threadinfo.prefix_plain_html} {vb:raw threadinfo.title} - {vb:raw phrase reply_to_topic}</title>
</head>
<body>
<div class="bodywrapping">
{vb:raw header}
{vb:raw navbar}
<div class="titlebg">{vb:rawphrase reply_to_thread}: {vb:raw threadinfo.title}</div>
<form action="newreply.php" method="post">
<div>
{vb:rawphrase message}:<br />
<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:99%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>
{vb:raw messagearea}
<input type="hidden" name="emailupdate" value="
<vb:if condition="$emailchecked[0]!=''">
0
<vb:elseif condition="$emailchecked[1]!=''" />
1
<vb:elseif condition="$emailchecked[2]!=''" />
2
<vb:elseif condition="$emailchecked[3]!=''" />
3
<vb:else />
9999
</vb:if>
">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="{vb:raw threadid}" />
<input type="hidden" name="p" value="{vb:raw postid}" />
<input type="hidden" name="specifiedpost" value="{vb:raw specifiedpost}" />
<input type="hidden" name="posthash" value="{vb:raw posthash}" />
<input type="hidden" name="poststarttime" value="{vb:raw poststarttime}" />
<input type="hidden" name="loggedinuser" value="{vb:raw bbuserinfo.userid}" />
<input type="submit" id="btn" name="sbutton" id="{vb:raw editorid}_save" value="{vb:rawphrase submit_reply}" accesskey="s" tabindex="2" />
{vb:raw attachmentoption}
</div>
</form>
{vb:raw footer}
</div>
</body>
</html>
check differences and/or overwrite yours with that and see how you go
Reply with QUOTE removes all formatting (paragraphs). Tried all fixes proposed on this thread in vain.
Edited newreply template with same codes as above but couldn't work!
Pls advise
tareqbd
04-19-2013, 03:31 AM
ain't nothing I can do if I don't know what you are talking about. links to the hacks you are asking about would go a long way ...
No it's not, it's a real benefit for me. Means hacks in the full style don;t get in the way on mobile devices. Just put the hooks and code that you need for hacks in the appropriate templates.
tareqbd - re your PM, I'm not sure without manually looking through the templates which I'm sure you are capable of doing
OK. Can you help me by saying which major templates I have to go thru in order to save the time.
dartho
04-19-2013, 10:59 PM
@tareqbd - the templates whose name appear in bold would be 'major' templates
@filgga - I can not reproduce this and looking at your site, the only quoted posts I see do have paragraphs ... Are you sure about this issue?
tareqbd
04-20-2013, 02:58 AM
@tareqbd - the templates whose name appear in bold would be 'major' templates
Sorry! I did not get you. Where can I find the bold names for 'major' templates.
dartho
04-20-2013, 03:37 AM
In the style manager in admincp...
Sorry, that was meant to be CAPS not bold
letipro
04-20-2013, 03:48 AM
please update to 4.2.1 :D
thank
Bounce
04-21-2013, 05:19 PM
Dartho, any way of adding a reputation/like link to the style?
thenamesgould
04-24-2013, 10:45 AM
I'm using this style for my mobile site, and I've just enabled Blogs on my site. When you go to a blog on the phone, it stays in the mobile site and is totally unreadable. I do have it set to use the normal style for Blogs in the admin settings.
Does anyone know what's going on ... or is there a way to overwrite the mobile blog style with the regular style?
Filgga
04-25-2013, 03:33 PM
@filgga - I can not reproduce this and looking at your site, the only quoted posts I see do have paragraphs ... Are you sure about this issue?
@dartho,
I'm trying to reproduce the theme to get it work with vB 4.2.1 and the navigation thing (which is fine in the new skin).
Generally, the new theme works with no errors except the <br /> issue which is a big pain to me.
Followed the details here but it did not solve my issue!
Q. I see <br /> instead of line breaks when quoting, full reply
A. See post: https://vborg.vbsupport.ru/showpost.php?p=2275317&postcount=617
dartho
04-25-2013, 10:19 PM
Did you also Try the plugin referred to in that post?
rughis
04-28-2013, 07:56 PM
Hi Dartho, I've a problem with "Who's on line" after 4.2.1 migration :(
dartho
04-28-2013, 10:03 PM
What's the problem?
tOtherBlack
04-30-2013, 09:55 PM
Hello,
Writing a message board does not seem active. How can I fix this problem?
I'm bad speak english
dartho
05-01-2013, 03:47 AM
I'm bad speak english
Yes!
please post a picture of problem. or a link to webpage with problem.
rughis
05-01-2013, 07:57 PM
Hi Dartho, I've a problem with "Who's on line" after 4.2.1 migration :(
What's the problem?
It doesn't work
Clicking on number of online user link:
https://vborg.vbsupport.ru/external/2013/05/50.png
appears the page:
https://vborg.vbsupport.ru/external/2013/05/51.png
dartho
05-02-2013, 08:31 AM
That looks like a vBulletin message which makes me think you have installed this style as a mobile style which has known issues. Can you view that same page in the vBulletin Mobile Style?
rughis
05-02-2013, 09:03 PM
That looks like a vBulletin message which makes me think you have installed this style as a mobile style which has known issues. Can you view that same page in the vBulletin Mobile Style?
Yes Dartho, you're right!!! I view the same message in vB Mobile Style :o
I think that I did something wrong with template reverting after 4.2.1 update:(
dartho
05-02-2013, 11:41 PM
No, it's vBulletin. For some reason they treat mobile and desktop styles differently and have different functions/features available. I think many are installing mobile styles under the desktop section so they still have access to all vbulletin functions, and then using 3rd party mobile detection scripts
rughis
05-04-2013, 04:02 PM
No, it's vBulletin. For some reason they treat mobile and desktop styles differently and have different functions/features available. I think many are installing mobile styles under the desktop section so they still have access to all vbulletin functions, and then using 3rd party mobile detection scripts
Can I do something to fix?
I don't use vB Mobile Style. Uninstalling it can fix the problem or I have to do something else?
Thank you for your help
Gripi
05-14-2013, 07:12 AM
Hello...
Looks like after upgrade to 4.2.1, the Show Private Message dont have reply menu anymore.
Bounce
05-17-2013, 06:52 PM
i'm finding theres a whitespace in between 1st and 2nd posts :confused:
Guest200721
05-21-2013, 02:42 AM
We used Lightweight mobile style by Dartho for vBulletin 3.8.
We upgraded to vBulletin 4.2. Lightweight Style is listed as Incompatible.
The Default Mobile style looks horrible. We have icons in the board descriptions and they show up in vB4 mobile default style.
What should we do?
Download the Style again?
Try the vB3 to vB4 conversion tool?
Try to update the templates (not that I know how to do that)
Thanks!
dartho
05-24-2013, 07:15 AM
just install this one as a new desktop style
Guest200721
05-24-2013, 07:35 AM
Thanks!
Bounce
05-29-2013, 10:15 PM
installing vbsuper pm's does not allow pm's to be sent... thought this style was hard coded and no products should effect it? :cool:
Bounce
05-31-2013, 01:35 PM
Also in 4.2.1 there is 'array' showing on users online link
dartho
05-31-2013, 11:49 PM
Some hooks are in place, others aren't. If you search the templates for "hook" you'll find which ones are and can remove them if you need. In regards to the blank line bewteen 1st/2nd post, I couldn;t see that on your site or mine?
Shaybloom
06-01-2013, 10:49 AM
How do i make this the default mobile theme?
Right now its the default vbulletin mobile theme that comes default for mobile
Bounce
06-01-2013, 05:10 PM
Some hooks are in place, others aren't. If you search the templates for "hook" you'll find which ones are and can remove them if you need. In regards to the blank line bewteen 1st/2nd post, I couldn;t see that on your site or mine?
cheers will take a look, the space was from an advert mate, all sorted on that issue :up:
Edit: had a look and theres only 4 templates that have hook in it and none of them are for private message section.. Done a couple screenies...
With vbsuper pm's on it does not show a pm list!
Bounce
06-01-2013, 05:17 PM
How do i make this the default mobile theme?
Right now its the default vbulletin mobile theme that comes default for mobile
I had some troubles with this too, I think I overwrote the default mobile style or try and add as a style to the mobile and make sure in the settings 'Style & Language Settings' its set to your mobile style you want.
4nawadir.com
06-04-2013, 06:58 PM
Good Job ;)
Continue ...
edytwinky
06-08-2013, 07:32 PM
Also in 4.2.1 there is 'array' showing on users online link
I get the 'array' when trying to view the poll voters
dartho
06-09-2013, 07:43 AM
cheers will take a look, the space was from an advert mate, all sorted on that issue :up:
Edit: had a look and theres only 4 templates that have hook in it and none of them are for private message section.. Done a couple screenies...
With vbsuper pm's on it does not show a pm list!
I would guess that vbsuper uses its own alternate templates for displaying private messages and that those templates don't exist in this style, even if they did exist through inheritance, they'd likely not be mobile suitable?
edytwinky
06-13-2013, 02:54 PM
I would guess that vbsuper uses its own alternate templates for displaying private messages and that those templates don't exist in this style, even if they did exist through inheritance, they'd likely not be mobile suitable?
dartho any suggestion on why the word array comes up when looking at poll voter history?
Bounce
06-15-2013, 08:48 PM
Superb! I know, many will benefit from this... Do I add the code onto the above code and look like:
//VB has already check and set cookies if the user can skip the style, so just read what they wrote
$vbulletin->input->clean_array_gpc('c', array(
COOKIE_PREFIX . 'userstyleid' => TYPE_INT,
COOKIE_PREFIX . 'skipmobilestyle' => TYPE_BOOL,
));
$skip = $vbulletin->GPC[COOKIE_PREFIX . 'skipmobilestyle'];
//Admin can have any style they want, so check if they're an admin and have specificed a styleid
if ($vbulletin->userinfo['permissions']['adminpermissions'])
{
$vbulletin->input->clean_gpc('r', 'styleid', TYPE_INT);
$styleid = $vbulletin->GPC['styleid'];
}
else if ($skip)
//if the user is not an admin has chosen to skip the mobile style (if allowed) give them default
$styleid=$vbulletin->GPC[COOKIE_PREFIX . 'userstyleid'];
else if ($vbulletin->mobile_browser_advanced)
$styleid=89; //Advanced mobile style ID
else if ($vbulletin->mobile_browser)
$styleid=89; //Basic mobile style ID
else
$styleid=1; //everyone else gets default style default style
select:eval
//options = fetch_style_title_options_array('', false, 'mobile');
$options = fetch_style_title_options_array();
$options = array('0' => $vbphrase['none']) + $options;
?
Thanks for your prompt response
none of this worked for me... running 4.2.1
I added the plugin but as soon as i clicked back onto forum link it brought up the default style :eek: when choosing 'mobile' in the style chooser it wouldnt change it back
Bounce
06-15-2013, 09:06 PM
I would guess that vbsuper uses its own alternate templates for displaying private messages and that those templates don't exist in this style, even if they did exist through inheritance, they'd likely not be mobile suitable?
Never had time to look as complaints flooded in that PM's were not working, i would say 40% of users on my site use this style:cool:
dartho
06-16-2013, 02:23 AM
none of this worked for me... running 4.2.1
I added the plugin but as soon as i clicked back onto forum link it brought up the default style :eek: when choosing 'mobile' in the style chooser it wouldnt change it back
I just successfully tested this on a 4.2.1 site. Try logging out and testing as a guest or standard user.
dartho
06-16-2013, 02:30 AM
dartho any suggestion on why the word array comes up when looking at poll voter history?
Edit the pollresult template and replace the contents with this:
<div class="windowbg">
<span>
<vb:if condition="$option['uservote']">
{vb:raw option.question}
<vb:else />
{vb:raw option.question}
</vb:if>
<vb:if condition="$show['pollvoters']">
<div class="commalist">
<vb:each from="names" value="row">
<a class="commalist" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}
</vb:each>
</div>
</vb:if>
</span>
<span><strong>{vb:raw option.votes}</strong></span>
<span>{vb:raw option.percent}%</span>
</div>
dartho
06-16-2013, 03:46 AM
Also in 4.2.1 there is 'array' showing on users online link
ediy WHOSONLINE template and replace
<span>{vb:raw onlinebits}</span>
with
<vb:each from="onlinebits" key="count" value="userinfo"><div>
<span><a href="{vb:link member, {vb:raw userinfo}}">{vb:raw userinfo.musername}</a></span>
{vb:raw userinfo.action}
<vb:if condition="$userinfo['show']['where']">
<span>
<vb:if condition="$userinfo['show']['subscribed']"><img class="inlineimg" src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" /></vb:if>
{vb:raw userinfo.where}
</span>
</div> </vb:if></vb:each>
edytwinky
06-20-2013, 02:11 PM
Edit the pollresult template and replace the contents with this:
<div class="windowbg">
<span>
<vb:if condition="$option['uservote']">
{vb:raw option.question}
<vb:else />
{vb:raw option.question}
</vb:if>
<vb:if condition="$show['pollvoters']">
<div class="commalist">
<vb:each from="names" value="row">
<a class="commalist" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}
</vb:each>
</div>
</vb:if>
</span>
<span><strong>{vb:raw option.votes}</strong></span>
<span>{vb:raw option.percent}%</span>
</div>
Fixed. Thanks!
Guest200721
07-12-2013, 04:32 AM
We downloaded the new Lightweight for vb4.2.1 as you said a few weeks ago.
I can't get our logo to show at the top . Is there a size limit? I'm pretty sure I have the right directory and titlename path. Does the logo have to have a certain name?
Thanks!
dartho
07-13-2013, 11:59 PM
edit the lightweight.css.php file and search for $Logo="images/misc/mobilelogo.png"; and modify accordingly, or edit/overwrite the images/misc/mobilelogo.png file itself
Guest200721
07-14-2013, 01:42 AM
I overwrote the image but it didn't work. The little cell phone is gone but my logo isn't there.
UPDATE: the image was named mobile.png. I renamed my logo and all is well!
THANKS!
jramos1973
07-14-2013, 01:05 PM
Hi, I think we are finally ready to move on to the default vBulletin theme, But before that I wanted to share the vB CMS Article pages, I saved these two files, AFAIK this worked well with our CMS and should work with your too.
All the best and thanks for the Style and effort. :up:
Thanks you, very much.. installed in web page :) NewGenteBlackBerry (http://newgenteblackberry.com)
PD : Excuse me for Bad English.. I Don?t Speak English very well..
:D :up:
craigvm
07-30-2013, 03:10 PM
hi i was using this but decided to change colors and messed them up so i removed it but when i try to upload it again i get this server error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Web Server at fordmodified.co.uk
any idea why
dartho
07-30-2013, 10:20 PM
Are you re-uploading the lightweight.css.php file also? Messing this file up could possibly cause server errors as as simple as it is, it is still PHP.
If you are uploading it - try deleting it and seeing if you then get errors - you should get a very simple bland style - and then upload a fresh copy again and see how it goes.
craigvm
07-31-2013, 06:54 AM
Are you re-uploading the lightweight.css.php file also? Messing this file up could possibly cause server errors as as simple as it is, it is still PHP.
If you are uploading it - try deleting it and seeing if you then get errors - you should get a very simple bland style - and then upload a fresh copy again and see how it goes.
just tried m8 and still the same
dartho
08-02-2013, 02:44 AM
Which did you try? Removing the lightweight.css.php or replacing it? If you get errors after removing it, your problem lies elsewhere...
craigvm
08-02-2013, 10:32 AM
Which did you try? Removing the lightweight.css.php or replacing it? If you get errors after removing it, your problem lies elsewhere...
yes i tried both and as said every other theme installs fine
Bob Meta
08-05-2013, 06:49 PM
I apologize if this has been asked earlier, but I could not find it while scanning through earlier posts. I have installed this style for our forums and it works perfectly and had no issues with the install. However, I can't find a "register" button anywhere on this style, so new users need to go to the Full Site in order to register. Am I missing something?
Thank you for the style!
Currently using vB 4.2.1
clayt101
08-06-2013, 08:36 PM
just install this one as a new desktop style
Pretty new with this, but I wanted to give it a shot...
I think I did everything correctly...I put the contents of the "upload" folder on their corresponding folders on my FTP site.
I tried making it both a desktop style and a mobile style; however, both times I got the error saying it was made for 4.1.8.
I went into the xml file and changed it to 4.2.1....will that mess anything up (saved as a mobile style)?
dartho
08-06-2013, 09:00 PM
That shouldn't mess things up - but you have an option to ignore version when importing, although there might be changes since 4.1.8 not compatible with 4.2.1
@Bob Meta - sorry, I never did the registration screens
Bob Meta
08-07-2013, 04:27 PM
@Bob Meta - sorry, I never did the registration screens
Thank you for the response! I did notice that first time users will see the "If this is your first visit, be sure to check out...etc" message, and that does include a registration link. The registration form appears to be functional, although formatting is a bit off.
Do you have plans to add a more permanent registration link/page in the future?
Edit: I would like to add that despite not having a registration link, I still far prefer this mobile style over vb default. It's faster and MUCH easier to navigate.
rughis
08-08-2013, 07:46 AM
Can I do something to fix?
I don't use vB Mobile Style. Uninstalling it can fix the problem or I have to do something else?
Thank you for your help
Hi Dartho, I've tried to further understand the problem, but without success :(
I deleted vB Mobile Style and I reinstalled the lightweight style from scratch, but now I receive the message "Array" on whoisonline.
Edit: SOLVED!!!
https://vborg.vbsupport.ru/showpost.php?p=2428415&postcount=1061
heyzeus909
08-10-2013, 01:14 AM
Is there any way for an option to upload/attach pictures? A 'manage attachments' button, or a link - anything would be great.
dartho
08-10-2013, 10:56 AM
adding attachments is already an option...
heyzeus909
08-10-2013, 09:15 PM
I only see the option when submitting a new thread, not when replying.
Example (http://www.eatcleanlifthard.com/forum/showthread.php?96333-Join-me-Take-pics-of-your-food-for-a-week&p=120310&styleid=14#post120310)
trigatch4
08-13-2013, 07:39 PM
Any chance you would update your vB 3.8.7 style to look more like this?
I've been scouring the web for days looking for a suitable 3.8.7 mobile style but pretty much everything is horrendous and our site is too large and customized to move to 4.X+
Would pay to have this done...
dartho
08-14-2013, 03:19 AM
Any chance you would update your vB 3.8.7 style to look more like this?
I've been scouring the web for days looking for a suitable 3.8.7 mobile style but pretty much everything is horrendous and our site is too large and customized to move to 4.X+
Would pay to have this done...
Check it: https://vborg.vbsupport.ru/showthread.php?t=263822 :up:
tareqbd
11-17-2013, 01:52 PM
Anyway to make dbtech advance registration work with it?
dartho
11-18-2013, 10:47 AM
I don't know/use that mod - what doesn't work?
deprich
11-26-2013, 03:41 PM
I found the following error for me:
When i do a "New Posts" search, the links for "Last page" are broken. Usually it should be something like that:
http://www.example.com/f99/thread-name-9999/index999.html
But it is something like that:
http://www.example.com/f99/thread-name-9999/index999Array.html
Of course the "Array" is the mistake and i guess there is something wrong in a template for the search, but i couldn't find where, what and why. I use the Style with vB 4.2.0.
Any Fix for that problem would be very helpful.
asabet
05-31-2014, 12:28 AM
First, thanks for this awesome style. Donation sent. Second, is there a way to use CSS to resize images similar to how the Stylevar works for the default vB4 style?
The reason I ask is that this Lightweight style seems to load images full size briefly, and then they resize down to 200px. Sometimes this doesn't seem to happen smoothly, and on some phones, it results in wacky formating (horizontal scrolling, yuck).
The default style resizes to whatever you've set as image_max_size in the StyleVar prior to loading the image, which seems to work better. Any way to do something similar here?
Thanks again!
asabet
06-01-2014, 10:58 PM
sorry, edit the CSS file (the lightweight.css.php file you uploaded to your server), and add it right at the end - sorry, no ?> to search for at the end.
I solved my image resizing problem by adding this at the end of the aforementioned CSS file:
img
{max-width:90%;
height:auto;
margin-left:auto;
margin-right:auto;}
asabet
06-08-2014, 12:51 AM
Those with the "<br />" issue.
I have just spent an hour or so sorting this out and I think I have a solution. I think this only works if you have the lightweight style options hack as well.
The issue: Reply to thread still uses CKEditor. If you switch the template back to a simple textarea, as it was before, the quote isn't passed.
To fix:
Copy the contents of template editor_toolbar_off to editor_ckeditor.
This gives you the quote, but gives you all sorts of <br /> tags and other HTML stuff.
This issue is caused when the user has the WYSIWYG set, so we need to turn that off in the mobile style.
Add the following plugin:
Product: Lightweight Style Options
Hook Location: editor_toolbar_switch
Execution order: 5
PHP Code:
if (STYLEID==$vbulletin->options['ls_mobile_style'])
{
$vbulletin->userinfo[showvbcode]=0;
}
Give it a whirl, seems to have worked for me.
Thanks, that worked great for me. I don't use the Lightweight Style Options product, so I altered it as follows:
Product: Vbulletin
Name: Disable WYSIWYG for mobile style
Hook Location: editor_toolbar_switch
Execution order: 5
if (STYLEID==X)
{
$vbulletin->userinfo[showvbcode]=0;
}
where X is the # for my mobile style
asabet
06-08-2014, 02:29 PM
Another change I made was to put this for headinclude so the page doesn't autozoom during post edit or reply:
<vb:if condition="!in_array(THIS_SCRIPT, array('newreply', 'editpost'))">
<vb:comment>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
</vb:comment>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<vb:else />
<vb:comment>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
</vb:comment>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
</vb:if>
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="device-width" />
<meta http-equiv="Content-Type" content="text/html; charset={vb:stylevar charset}" />
<meta id="e_vb_meta_bburl" name="vb_meta_bburl" content="{vb:raw vboptions.bburl}" />
<vb:if condition="$show['threadinfo']">
<vb:elseif condition="$show['foruminfo']" />
<meta name="keywords" content="{vb:raw foruminfo.title_clean}, {vb:raw vboptions.keywords}" />
<meta name="description" content="<vb:if condition="$pagenumber > 1">{vb:rawphrase page_x, $pagenumber}-</vb:if>{vb:raw foruminfo.description_clean}" />
<vb:else />
<meta name="keywords" content="{vb:raw vboptions.keywords}" />
<meta name="description" content="{vb:raw vboptions.description}" />
</vb:if>
<link rel="stylesheet" href="{vb:raw vboptions.bburl}/lightweight.css.php" type="text/css" />
<base href="{vb:raw vboptions.bburl}/" />
Bounce
07-12-2014, 05:11 PM
Anyone able to add code to delete a private message when in usercp?
What template is the private messages?
dartho
07-16-2014, 08:41 AM
Adding something like:
<form action="private.php?do=managepm&dowhat=delete&pmid={vb:raw pm.pmid}" method="post" class="block">
<div class="titlebg">{vb:rawphrase delete_this_message}</div>
<div class="windowbg">
{vb:rawphrase delete_message_click_button}
<input type="submit" class="button" value="{vb:rawphrase delete_this_message}" />
<br /><label for="deletepm"><input id="deletepm" name="pm[{vb:raw pm.pmid}]" type="checkbox" value="true" /> {vb:rawphrase delete_this_message}</label>
</div>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="managepm" />
<input type="hidden" name="dowhat" value="deleteonepm" />
<input type="hidden" name="folderid" value="{vb:raw pm.folderid}" />
</form>
to the bottom of the pm_showpm template should do it, I think ...
Twikitero
07-21-2014, 06:38 PM
Is it possible to replace the mobile style that comes with vbulletin default for this style?
Thanks
EDIT: SOLVED
Twikitero
07-21-2014, 07:39 PM
I have a problem, when I go to my site from a mobile forum automatically detects correctly but an annoying zooming, as could edit this to be displayed without having to zoom out completely manually.
Thank you
this is my site if you can visit it http://www.thisiphone.com/forum.php from a mobile so you can view
Mark.B
07-21-2014, 08:26 PM
I have a problem, when I go to my site from a mobile forum automatically detects correctly but an annoying zooming, as could edit this to be displayed without having to zoom out completely manually.
Thank you
this is my site if you can visit it http://www.thisiphone.com/forum.php from a mobile so you can view
A a guess, it's to do with your header....have you altered the header template at all?
Twikitero
07-22-2014, 12:38 PM
A a guess, it's to do with your header....have you altered the header template at all?
Thanks for your response, but I have not made any changes in this template style Lightweight.
?You know how I can solve this error?
Thanks
Mark.B
07-22-2014, 03:24 PM
The code in red below causing your issue:
body {
margin: 0;
min-width: 990px;
width: auto;
}
Twikitero
07-22-2014, 03:43 PM
The code in red below causing your issue:
body {
margin: 0;
min-width: 990px;
width: auto;
}
I'm trying to find the code but can not find it in any template
Mark.B
07-22-2014, 03:46 PM
It might not be in a template, in fact I'd suggest it probably isn't, since it'd be pointless setting a min-width like that on a mobile style.
I'd start with your plugins, see if anything is adding it there. Also check the css file that comes with this style, make sure nothing has been altered in there.
My guess is that something is applying this min-width value with the intention of it applying to the normal desktop style, but it is also affecting the mobile style. Hence why a plugin could be the culprit.
Twikitero
07-22-2014, 04:01 PM
The problem I've seen is that when they enter the forum style can not completely load automaticaly, I pulse "Desktop version" and therefore selected the Lightweight style manually and load perfectly.
I am desperate to fix this, and not know what else to edit
Twikitero
07-22-2014, 05:01 PM
I think it is solved.
The problem was this option
http://i.gyazo.com/ea170c29140dc3d4962753cfe75803b1.png
I Was enabled this option, disable it and I think now if you load the Lightweight style perfectly
Does someone could come to my forum from mobile and check if it is working well the dimensions ? Mark.B Thanks for your help.
Mark.B
07-22-2014, 05:12 PM
Looks perfect now...glad you got it sorted.
Twikitero
07-22-2014, 05:14 PM
Looks perfect now...glad you got it sorted.
Ok I appreciate much your help, thanks.
It seems incredible that a simple option was burning me so much lol
Thanks
Twikitero
07-24-2014, 07:17 PM
Someone know any way to add the latest forum topics and replies?
Would be great if this was implanted in a Light version
Thanks!!!!
dartho
08-01-2014, 05:29 AM
Not sure how compatible this stuff is, but this may work:
edit your CSS file and add:
.hidden { visibility:hidden; }
alternatively you could edit the editor_ckeditor template and add the following to the top
<style>
.hidden { visibility:hidden; }
</style>
then edit the pm_newpm template and replace
<textarea name="message" rows="20" cols="20" style="width:100%; height:100px" tabindex="1"></textarea>
with
{vb:raw messagearea}
and that might do it
Alan_SP
08-01-2014, 09:14 PM
Excellent, at last I can quote PMs in your skin. :up:
It works, at least for me.
broncoshq
08-15-2014, 09:43 AM
ain't nothing I can do if I don't know what you are talking about. links to the hacks you are asking about would go a long way ...
No it's not, it's a real benefit for me. Means hacks in the full style don;t get in the way on mobile devices. Just put the hooks and code that you need for hacks in the appropriate templates.
tareqbd - re your PM, I'm not sure without manually looking through the templates which I'm sure you are capable of doing
I appreciate your reply, while coming across quite hostile, I understand where you are coming from.
I thought DB Tech was quite well known, so didn't think I would need a link sorry. The addon my users request the most is DB Tech Advanced Likes/Thanks (http://www.dragonbyte-tech.com/product/22-advanced-post-thanks-like/)
I appreciate the advice in regard to adding the hooks, and things of that nature. Unfortunately that is outside of my skill set. Hence I asked the question. I'm sorry if it bothered you in some way.
Great style, anyone added tabs to the member.php (view profile) yet?
Question, if you allow style choices, will this override the choice with the default style every time the user logs in on a non-mobile device?
vBulletin messed things up for this style when the seperated mobile and standard styles.
If you want to use VB detection and simply apply one style to advanced mobile devices, one style to basic mobile devices and a default style to everyone and allow people to select their own style (assuming they are already allowed to do this on your site) and still allow admin to pick any style they want, the following should do it.
Create a plugin on style_fetch with the following code being sure to enter in teh styleids you want for mobile, advanced mobile and default styles:
//VB has already check and set cookies if the user can skip the style, so just read what they wrote
$vbulletin->input->clean_array_gpc('c', array(
COOKIE_PREFIX . 'userstyleid' => TYPE_INT,
COOKIE_PREFIX . 'skipmobilestyle' => TYPE_BOOL,
));
$skip = $vbulletin->GPC[COOKIE_PREFIX . 'skipmobilestyle'];
//Admin can have any style they want, so check if they're an admin and have specificed a styleid
if ($vbulletin->userinfo['permissions']['adminpermissions'])
{
$vbulletin->input->clean_gpc('r', 'styleid', TYPE_INT);
$styleid = $vbulletin->GPC['styleid'];
}
else if ($skip)
//if the user is not an admin has chosen to skip the mobile style (if allowed) give them default
$styleid=$vbulletin->GPC[COOKIE_PREFIX . 'userstyleid'];
else if ($vbulletin->mobile_browser_advanced)
$styleid=20; //Advanced mobile style ID
else if ($vbulletin->mobile_browser)
$styleid=7; //Basic mobile style ID
else
$styleid=1; //everyone else gets default style default style
dartho
09-17-2014, 01:53 PM
i think it will give them whatever they have chosen
I found that just using the below by itself along with built in VB mobile detection works fine. There was no need for the plugin.
If you wanted to make this simpler, and don;t mind going into debug mode on your site, you could edit the Option Code for Mobile Style boxes in AdminCP so that all styles (both mobile and standard) show up and then you could replace the styleid numbers in the plugin above with $vbulletin->options['mobilestyleid_basic'], $vbulletin->options['mobilestyleid_advanced'] and $vbulletin->options['styleid'] then if you changed styles down the track you wouldn;t need to edit the plugin by hand. You would still need the above plugin to make it work.
To do this change the Option Code to:
select:eval
//options = fetch_style_title_options_array('', false, 'mobile');
$options = fetch_style_title_options_array();
$options = array('0' => $vbphrase['none']) + $options;
Small contribution for deleting PMs. The code provided almost works, but need to change it to:
<div class="titlebg">{vb:raw pm.title}</div>
{vb:raw postbit}
<form action="private.php?do=managepm&dowhat=delete&pmid={vb:raw pm.pmid}" method="post" class="block">
<div class="titlebg">{vb:rawphrase delete_this_message}</div>
<div class="windowbg">
{vb:rawphrase delete_message_click_button}
<input type="submit" class="button" value="{vb:rawphrase delete_this_message}" />
<br /><label for="deletepm"><input id="deletepm" name="pm[{vb:raw pm.pmid}]" type="checkbox" value="true" /> {vb:rawphrase delete_this_message}</label>
</div>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="managepm" />
<input type="hidden" name="dowhat" value="delete" />
<input type="hidden" name="folderid" value="{vb:raw pm.folderid}" />
</form>
Adding something like:
<form action="private.php?do=managepm&dowhat=delete&pmid={vb:raw pm.pmid}" method="post" class="block">
<div class="titlebg">{vb:rawphrase delete_this_message}</div>
<div class="windowbg">
{vb:rawphrase delete_message_click_button}
<input type="submit" class="button" value="{vb:rawphrase delete_this_message}" />
<br /><label for="deletepm"><input id="deletepm" name="pm[{vb:raw pm.pmid}]" type="checkbox" value="true" /> {vb:rawphrase delete_this_message}</label>
</div>
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="managepm" />
<input type="hidden" name="dowhat" value="deleteonepm" />
<input type="hidden" name="folderid" value="{vb:raw pm.folderid}" />
</form>
to the bottom of the pm_showpm template should do it, I think ...
How do you get preview reply to work? I'm failing so far.
Edit: Nevermind, not really sure how, but I got it to work copying bits and pieces of other style templates.
duniabebas
09-30-2014, 04:13 AM
anyone have this style support 4.2.2?
anyone have this style support 4.2.2?
Works fine with 4.2.2.
One thing I haven't been able to figure out is how to insert inline image attachments with this style.
dartho
10-20-2014, 01:56 AM
Do you mean "inline" as in inserting an image, such as https://vborg.vbsupport.ru/images/editor/insertimage.gif, in the middle of of a post ?
Do you mean "inline" as in inserting an image, such as https://vborg.vbsupport.ru/images/editor/insertimage.gif, in the middle of of a post ?
Yeah, I can't seem to get the image to insert into the body of the message after it's uploaded...
dartho
10-24-2014, 02:31 AM
I've had a bit of a look, and I don't think there is any easy way to do that without bringing in the full ckeditor ...
I've had a bit of a look, and I don't think there is any easy way to do that without bringing in the full ckeditor ...
Thanks anyway...
On another note, I've noticed that line breaks aren't preserved when quoting. Any fix for that aside from disabling the WYSIWYG editor?
Mark.B
10-24-2014, 07:35 PM
Ok you need to create a new plugin at newreply_start. I called mine Line Break Fix which helped me locate it years later. :)
Add this code:
if (STYLEID==$vbulletin->options['ls_mobile_style'])
{
$vbulletin->userinfo[showvbcode]=0;
}
Ok you need to create a new plugin at newreply_start. I called mine Line Break Fix which helped me locate it years later. :)
Add this code:
if (STYLEID==$vbulletin->options['ls_mobile_style'])
{
$vbulletin->userinfo[showvbcode]=0;
}
I saw your earlier post about that, and it works... but then my checkbox for AME convert URLs to videos doesn't show up because it kills the newpost_disablesmilies hook.
Mark.B
10-24-2014, 07:53 PM
That's a weird one....I don't have any AME options showing anywhere (although I do use AME) so haven't run into this.
I can't understand why it would affect code run at another hook. It's just an if conditional, which is closed off. So whether it returns true or false, it ought not to affect any other hooks.
Could it be that the AME checkbox only shows on the WYSIWYG? That would explain it, as you've turned the WYSIWIG off with my code.....though only in the mobile style. Shouldn't affect a normal style.
Slightly baffled, I'm afraid.
That's a weird one....I don't have any AME options showing anywhere (although I do use AME) so haven't run into this.
I can't understand why it would affect code run at another hook. It's just an if conditional, which is closed off. So whether it returns true or false, it ought not to affect any other hooks.
Could it be that the AME checkbox only shows on the WYSIWYG? That would explain it, as you've turned the WYSIWIG off with my code.....though only in the mobile style. Shouldn't affect a normal style.
Slightly baffled, I'm afraid.
Took me awhile to figure it out, but AME adds the convert URLs to video checkbox by looking for the newpost_disablesmilies hook, if present, it injects the checkbox before the smilies checkbox... and from what I can tell the newpost_disablesmilies hook only gets called in the WYSIWYG editor.
I'm working on trying to change it to something else, like attachments... maybe you could help.
Like this code here works, but I want it to show up after the attachments box, not before it... which is what it currently does. (note newpost_attachment was newpost_disablesmilies until I changed it).
hook: parse_templates
if ($vbulletin->templatecache['newpost_attachment'])
{
require_once(DIR . '/includes/ame_prep.php');
$ame = new AME_editor_prep($vbulletin, THIS_SCRIPT);
$ame->add_template_injection(
array(
'type' => 'cache',
'name' => 'newpost_attachment',
'search' => '$final_rendered = \'',
'replace' => '$final_rendered = \'<li><label for="cb_parseame"><input type="checkbox" name="parseame" value="1" id="cb_parseame" tabindex="1" %2$s /> \' . vB_Template_Runtime::parsePhrase("ame_auto_convert") . \'</label><input type="hidden" name="parseame_check" value="1" /><input type="hidden" name="parseame_wasdisabled" value="%1$d" /></li>'
)
);
$ame->do_template_injections();
}
nevermind, didn't work correctly.
Gadget_Guy
11-16-2014, 12:18 AM
dartho....
Trying to PM you about hiring you for a custom version of this skin but your PM box is full.
Can you contact me with a way I can get a message to you?
D.
dartho
11-16-2014, 12:14 PM
Try again!
Gadget_Guy
11-16-2014, 10:34 PM
PM Sent
Bounce
02-25-2015, 08:45 PM
I appreciate your reply, while coming across quite hostile, I understand where you are coming from.
I thought DB Tech was quite well known, so didn't think I would need a link sorry. The addon my users request the most is DB Tech Advanced Likes/Thanks (http://www.dragonbyte-tech.com/product/22-advanced-post-thanks-like/)
I appreciate the advice in regard to adding the hooks, and things of that nature. Unfortunately that is outside of my skill set. Hence I asked the question. I'm sorry if it bothered you in some way.
Hi mate, did you ever get the likes sorted?
Ive never managed to find the relevant code to add.
I did manage to put a rep button and show rep on haha
mbreezy
02-27-2015, 11:53 AM
Any chance on a 4.2.2 version?
carsafety
04-08-2015, 05:26 PM
Try again!
Mailbox full again:-) If you didn't get my email please send me a PM as I'd like to proceed with the changes you suggested for my custom plugin.
mmm... probably
However, my suggestion would be to install it as a new style with no parent.
scottkoz20
07-26-2019, 02:58 AM
I'm late to the game on this style - I really like this and I have need to get this going as we'll be making a major change to become more mobile with custom tools on my site...
... however, something that noticed is that when I go to check my PM's either from the navbar (NEW PM) or from the User CP (New Private Messages) I get no PM's (see screenshot).
When I look through the thread, (and I apologize if I missed it), is there an update for the PM's to be displayed?
Thanks,
Scott
Prince
09-17-2019, 02:49 AM
Does this work on 4.2 ?
Hi,
I view this style, sorry because I don't read all pages of this thread, I have 2 doubts.
Work with vb 4.2.5?
And the most important, its a responsive theme? I search a responsive mobile style for my site and I view this and I think its possible...
Thanks and regards.
djbaxter
02-16-2020, 08:04 PM
There are no responsive themes for vBulletin 4.2.5.
Options if you want responsive:
migrate to Xenforo
upgrade to vBulletin 5
install crappy Tapatalk
charlesr
02-17-2020, 06:34 AM
I tried this a long time ago but have a cms so it wasn't an option.
I'm now using metro mobile theme https://themeforest.net/item/metro-mobile-a-mobile-theme-for-vbulletin-42/4013274
djbaxter
02-17-2020, 12:28 PM
I tried this a long time ago but have a cms so it wasn't an option.
I'm now using metro mobile theme https://themeforest.net/item/metro-mobile-a-mobile-theme-for-vbulletin-42/4013274
I am too. It's not really a responsive theme but you can at least install it as the main theme and have a mobile theme that matches.
There are no responsive themes for vBulletin 4.2.5.
Options if you want responsive:
migrate to Xenforo
upgrade to vBulletin 5
install crappy Tapatalk
Bad options... :)
Migrate to Xenforo, in this moment, is not option for me, I have some plugins that are incompatible with xenforo...
upgrade to vb 5... I have the same problem and...
use tapatalk, like you indicate, a crappy tapatalk...
I tried this a long time ago but have a cms so it wasn't an option.
I'm now using metro mobile theme https://themeforest.net/item/metro-mobile-a-mobile-theme-for-vbulletin-42/4013274
I view the page, its possible a good solution/iddea.
You use a cms, what cms? I search a cms for vb 4.2.5 but...
I am too. It's not really a responsive theme but you can at least install it as the main theme and have a mobile theme that matches.
I doubt with this, indicate that, you use like main theme and have a mobile theme that matches?
Mi iddea, is install a mobile theme, or responsive or good theme for mobiles devides, I have a main theme good for me, its possible not responsive but...for colours and options, I preferer not change my main theme.
It's not responsive, but if it's worth it, maybe I would also change my main theme.
Sincery, thanks!!
It is possible that this question is not correct in this thread, because it leaves a little of the initial theme of the thread, but as you two have advised me that topic and use it, I turn to you to see if I clarify any doubt:
I have been looking at the theme that you indicate, in principle I am looking for a responsive theme for the mobile version of my forum, responsive to be compatible with the plugins I have, work well (the mobile by default theme does not work very well) and be something "light" to favor the load. In principle, my main theme desktop version would leave it, it is not responsive, but it is very nice to look at and I have it modified to my liking and users like it a lot, the intention is not to change it, or failing that, the theme that bought (responsive or not) would adapt it to the colors I currently have, that could do it, but not the footer, I would not know how to put it in a new theme.
Having said all this (which I extend) I have seen the theme that you are commenting on, I have contacted the author to resolve any questions but I do not get an answer, so I turn to you a little. Would it be feasible to install it only for mobile version?
I have also seen this, which is responsive:
https://www.sultantheme.com/product/st-vb4-responsive/
It is much more expensive, and for the desktop version I should adapt the colors like the current one I have or just use it in mobile version.
And at this moment ... I don't know if I opt for the responsive theme for desktop and mobile or the theme metro (and I doubt if only for mobile or also as main) ...
I am a sea of doubts ... :-P
charlesr
02-21-2020, 06:48 PM
When I said I use the CMS, I mean I use vb articles as my homepage. Look at Bordersdown.net
I use metro mobile theme and styled version of the vb theme for my full screen style
lange
02-21-2020, 08:10 PM
Checked Bordersdown.net. It's not responsive at all and there are many errors HTML in the source code (the errors are in red color).
charlesr
02-22-2020, 06:40 AM
If by responsive you mean one style that resizes itself perfectly for every device, then good luck with that in vb4....
But it switches to metro style on a mobile (it won't do this if you just switch to mobile mode in chrome inspect tool - you have to actually use a mobile device, or select it from the style picker drop down) and Google thinks it's mobile friendly with Google Search Console reporting no mobile issues.
It's not perfect but looks decent and works
lange
02-22-2020, 03:18 PM
If by responsive you mean one style that resizes itself perfectly for every device, then good luck with that in vb4....
Yes, I mean one style that resizes itself perfectly for every device. I think it's more complicated with nested stylesheets of vB4 + vB CMS; maybe easier on a forum with tables like vB3.
When I said I use the CMS, I mean I use vb articles as my homepage. Look at Bordersdown.net
I use metro mobile theme and styled version of the vb theme for my full screen style
Yes, I view the site and I like a lot.
But you can and use CMS-Articles, true?
I don't have CMS-Articles, and with my license, if I want install CMS-Articles I need upgrade my license (about 159$)...I think its very expensive, but your site have good look and its like I want my site...
...
But it switches to metro style on a mobile (it won't do this if you just switch to mobile mode in chrome inspect tool - you have to actually use a mobile device, or select it from the style picker drop down) and Google thinks it's mobile friendly with Google Search Console reporting no mobile issues.
It's not perfect but looks decent and works
About t his, the vendor/owner of metro mobile syte respone to me yesterday, he indicate that, is not good for google, but you indicate its good for your for google and not have errors with google search console, then, I think its good.
I will be guided by your experience, although the seller has told me that it is not good for google, if it is for you, I understand that it is.
I am not looking for a theme that is the same in the desktop version as in the mobile version, the theme that I have in the desktop version I like very much (and users too) has dark blue tones, the mobile version, I am looking for it that is light, with light colors and Above all, good for Google, and I think that the metro version that you have advised me meets those conditions.
When the seller told me that it was not good for google, then it gave me "some fear" and I did not make the purchase at that time, but if you say it is good for google, I will make the purchase, the load, how about? I have tried it from my mobile device, and I see it as good. Google Insights gives you a very good score on your website with metro mobile theme.
Therefore, my doubts were resolved, I will acquire this theme for my mobile version.
Too bad I don't have CMS-Articles, really, the design of your site is the one I would like to have.
Accessing the index of your mobile site, it also has a very good appearance, it will not be responsive, but as if it were.
I greatly appreciate your comments.
charlesr
02-24-2020, 12:43 PM
snip...
the design of your site is the one I would like to have.
Accessing the index of your mobile site, it also has a very good appearance, it will not be responsive, but as if it were.
I greatly appreciate your comments.
Note that I added in extra buttons to the mobile header to make navigation easier.
Here's the code for my mobile style header template. Please don't just copy paste - it won't work. You need to read mine, compare it to yours and understand the changes and then write the changes needed to yours, plus add relevant button images.
I also added an easy link to the full size style, because editing posts on mobile style is a nightmare
<div data-role="page" data-theme="d" id="page-home">
<div id="header">
<div id="header-left">
<a href="{vb:link forumhome}" class="logo-image" rel="external"><img src="{vb:stylevar titleimage}" width="100%" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a>
</div>
<div id="header-right">
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_header}
</vb:if>
<vb:if condition="$show['member']">
<vb:if condition="$notifications_total">
<a href="mobile.php?{vb:raw session.sessionurl}do=notifications" data-role="button" data-inline="true" data-theme="e" class="notifications_total hidden"><span class="notifications_total_count"></span></a>
</vb:if>
<vb:else />
<a href="mobile.php?{vb:raw session.sessionurl}do=login" class="headericon" rel="external"><img src="{vb:stylevar imgdir_mobile}/login.png" /></a>
</vb:if>
<a href="/" class="headericon"><img src="customgfx/homebuttonmob.png" /></a>
<a href="forum.php" class="headericon"><img src="customgfx/forumbutton.png" /></a>
<a href="search.php?{vb:raw session.sessionurl}do=getnew" class="headericon"><img src="{vb:stylevar imgdir_mobile}/whatsnew.png" /></a>
<a href="mobile.php?{vb:raw session.sessionurl}do=gridmenu" class="headericon"><img src="{vb:stylevar imgdir_mobile}/gridmenu.png" /></a>
<a href="search.php?{vb:raw session.sessionurl}search_type=1&contenttype=vBFor um_Post" class="headericon" rel="external"><img src="{vb:stylevar imgdir_mobile}/search.png" /></a>
</div>
<vb:if condition="$notifications_total">
<ul id="dummylist" class="hidden">
{vb:raw notifications_menubits}
</ul>
</vb:if>
</div>
<div>
<a href="{vb:raw vboptions.forumhome}/?styleid={vb:raw vboptions.styleid}">{vb:rawphrase full_site}</a> |
<a href="<vb:if condition="$vboptions['vbcms_url']">{vb:raw vboptions.vbcms_url}/{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}<vb:else />{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}</vb:if>" rel="external">{vb:rawphrase articles}</a>
</div>
Note that I added in extra buttons to the mobile header to make navigation easier.
Here's the code for my mobile style header template. Please don't just copy paste - it won't work. You need to read mine, compare it to yours and understand the changes and then write the changes needed to yours, plus add relevant button images.
I also added an easy link to the full size style, because editing posts on mobile style is a nightmare
...
Hi,
I really appreciate your comments and help.
Indeed, yesterday when I was looking at your site with my mobile through metro theme mobile, I saw what you mentioned, some icons above for better interaction with the user, and in the footer, the full size option.
I did not know that the option to edit is a nightmare (a pity) because really, the theme is not responsive, but as I told you, yesterday when I browsed it, I really liked it and it seems almost responsive, it looked really good. I looked at those top menu options.
Analyzed with google insights gives a really excellent result, all this contradicts what the author told me, I almost did not advise him, he said that it was not good for google, but it is.
I appreciate your comments, I am guided and trust more of them than those of the author.
At the same time, I thank you for the code, as you say, it is not copy and paste, I do not like to do that, I like to look at it, see what it does, adapt it, in some things my knowledge comes, in others maybe not, but even where my knowledge does not arrive, I try to know what it does and why. I have already seen certain parts of the code that I will adapt to mine, I have variable phrases changed on my site, so I will adapt it to mine. I will make the comparison, see and adapt it. As I comment, I thank you very much for your comments and directions.
I'm going to buy the theme, I hope to have it installed and adapted this week, as soon as I have it, I'll let you know.
Thank you!
serverchange
02-26-2020, 07:00 PM
page does not open vbadynamic plugin. How can I fix?
musik
08-15-2022, 07:42 PM
Has anyone been able to convert the calendar into this theme? Got nothing so far :/.
But in the meantime, here's a little something we've added on our forum so the users don't have to write BB code themselves:
This is in newreply, but you may need to paste it elsewhere too:
<span id="btn" onclick="document.getElementsByName('message')[0].value += 'https://vborg.vbsupport.ru/'; document.getElementsByName('message')[0].focus();">Image</span>
<span id="btn" onclick="document.getElementsByName('message')[0].value += ''; document.getElementsByName('message')[0].focus();">URL</span>
<span id="btn" onclick="document.getElementsByName('message')[0].value += ''; document.getElementsByName('message')[0].focus();">Video</span>
<span id="btn" onclick="document.getElementsByName('message')[0].value += ''; document.getElementsByName('message')[0].focus();">Soundcloud</span>
<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:99%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.