vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Lightweight Style Options for "Lightweight Style" (https://vborg.vbsupport.ru/showthread.php?t=249339)

osva 01-01-2011 12:19 AM

Ok I'll try that tomorrow.. I left it for 2 hours and my load avg was at 400 so I took down mysql.
I'll try that and let you know.
Thanks for replying and happy new year.

The Rocketeer 01-04-2011 09:02 AM

Lightweight Style Options for "Lightweight Style", not working with VB 4.1.

No Change style option on header nor in footer.

will look forward to the fix and when the style is more bug free, for now uninstalled..

dartho 01-04-2011 11:03 AM

Quote:

Originally Posted by The Rocketeer (Post 2143772)
Lightweight Style Options for "Lightweight Style", not working with VB 4.1.

No Change style option on header nor in footer.

will look forward to the fix and when the style is more bug free, for now uninstalled..

Works as expected on my 4.1 site with change style option in header or footer as configured

The Rocketeer 01-04-2011 03:12 PM

Quote:

Originally Posted by dartho (Post 2143821)
Works as expected on my 4.1 site with change style option in header or footer as configured

Never mind, I overlooked a basic thing, that I had to configure it in the options > Lightweight Style Options ...many thanks ..

its a great style..

Phooey 01-09-2011 03:19 PM

I've installed the style and configured this plugin, but when I try accessing the forums on my iPhone, it still shows the default full theme. I emptied the cache and cookies, but that didn't do anything either. What am I missing?

dartho 01-10-2011 10:42 AM

You are missing this: https://vborg.vbsupport.ru/showthread.php?t=249967

Phooey 01-11-2011 01:28 PM

Quote:

Originally Posted by dartho (Post 2146947)

Seriously, stop being so awesome. :up:

Gero50 01-22-2011 06:39 AM

Installed and works great, great work.

Taurus1 02-03-2011 01:31 AM

Thanks, works great!

Just one question please. How can I get the Forum link in the top actually go to my forum? Whatever option I enter in the options, I get this: http://creativx.net/forums/forum.php
So I need it to just go here: http://creativx.net/forums
But even if I leave that empty, it gives me the first link.

Thanks.

EDIT: It also adds the forum.php behind the PC Mode link. So it does not work there either.

EDIT AGAIN: Sorry, disregard this, I figured it out. I had to enter index.php

prandah 02-03-2011 10:47 AM

hey, how to disable forum statisctic on mobile version?
my forum www.ditusuk.com
mobile version http://m.ditusuk.com

dartho 02-03-2011 11:46 AM

You need to tell me what add-on you are using to make those statistics

prandah 02-03-2011 03:37 PM

i used
[AJAX] Advanced Forum Statistics

prandah 02-05-2011 10:58 AM

hello

dartho 02-05-2011 08:09 PM

Hello. There doesn't appear to be an "enable / disable" type option in that add-on (which I assume is this one: https://vborg.vbsupport.ru/showthrea...ght=statistics ?) so you can;t disable it as such. However, you could try editing and deleting the contents of all the temapltes for that product within this style:

Code:

'+++++++_topstats_main',               
'+++++++_topstats_tabbit',               
'+++++++_topstats_menubit',
'+++++++_topstats_footer',
'+++++++_topstats_thread_info',
'+++++++_topstats_blog_info',
'+++++++_topstats_latest_posts',
'+++++++_topstats_hottest_threads',
'+++++++_topstats_most_viewed',
'+++++++_topstats_top_posters',
'+++++++_topstats_latest_news',
'+++++++_topstats_newest_members',
'+++++++_topstats_top_starters',
'+++++++_topstats_top_referrers',
'+++++++_topstats_top_reputation',
'+++++++_topstats_thanked_members',
'+++++++_topstats_top_forums',
'+++++++_topstats_top_credits',
'+++++++_topstats_latest_blogs',
'+++++++_topstats_top_infractions',
'+++++++_topstats_latest_classads',
'+++++++_topstats_latest_comments',
'+++++++_topstats_most_viewed_entrys',
'+++++++_topstats_hottest_entrys',
'+++++++_topstats_top_bloggers'

[Edit] For some reason, the text "v i e t v b b" in the above template names gets replaced with +++++++. Someone here at vb.org seems to have an issue with them?

prandah 02-06-2011 09:52 AM

thanks dartho
it's work :D

anupam_luv 02-11-2011 12:15 AM

Some of my posts are mistakenly marked as "Posted via Mobile Device" ....... I want to remove it from everywhre and reset its status so that I should mark only new post from now on as "Posted via Mobile Device" ...
Can u suggest any sql query which can remove "Posted via Mobile Device" status from all my posts?

dartho 02-11-2011 03:39 AM

something like the following 2 queries should do it:
Code:

UPDATE post SET mobile = NULL, ua = NULL WHERE post.userid = nn;
UPDATE thread SET mobile = NULL, ua = NULL WHERE post.userid = nn;

replacing nn with your userid

zeus_r6 02-27-2011 05:56 PM

1 Attachment(s)
Any idea why this is left aligned rather than being next to the links on the right in postbit foot?

Screenshot attached

dartho 02-27-2011 09:04 PM

because that's where I put it :)

zeus_r6 02-27-2011 10:35 PM

Any insight on what .css file or template to modify to put it right next to edit post?

dartho 02-28-2011 02:06 AM

You would need to edit the Add Posted By Mobile Message to Post plugin and change the hook location used to one of the others available.

The line you want to change in that plugin is:
$template_hook['postbit_controls'] .= $templater->render();

Change the bit in red. A quick check of the postbit template shows other hooks available listed below. None of them look like they'd do exactly what you want, but give it a go:

postbit_userinfo_left
postbit_userinfo_right_after_posts
postbit_userinfo_right
postbit_messagearea_start
postbit_signature_start
postbit_signature_end
postbit_controls
postbit_end



You could also edit the posted_by_mobile_device template to make changes to what is displayed.

zeus_r6 02-28-2011 03:42 AM

There is hardly anything in the posted by mobile device template ... nothing seems to change the location of it

dartho 02-28-2011 08:57 AM

I see you have the same problem with Post Thank You Hack - go ask you style designer.

prandah 02-28-2011 11:23 AM

1 Attachment(s)
hai dartho

i'm sorry, i ask again :D

how to put this logo on the post via mobile device ?

like this picture

dartho 02-28-2011 11:56 AM

Quote:

Originally Posted by prandah (Post 2167827)
hai dartho

i'm sorry, i ask again :D

how to put this logo on the post via mobile device ?

like this picture

edit the posted_by_mobile_device template to make changes to what is displayed

zeus_r6 03-01-2011 01:13 AM

Quote:

Originally Posted by dartho (Post 2167802)
I see you have the same problem with Post Thank You Hack - go ask you style designer.

Actually it was the hack, it would display incorrectly even with the stock style....here is the fix which was found by the designer of the custom skin I'm running:


1) open template postbit
find
HTML Code:

{vb:raw template_hook.postbit_controls}

and move it under

<span class="postcontrols">

2) Do the same for postbit_legacy

A big thanks to Alexander from www.webandart.gr !:D

dartho 03-01-2011 05:58 AM

that wouldn't be the hack, that would be the default vBulletin style which puts it there.

lighthazard 03-07-2011 05:45 PM

I noticed that the lightweight skin doesn't really support the CMS (Like you said)


If I can make a suggestion and make it an option in the add-on to automatically redirect mobile devices from the cms to the forum? That way, it would go straight to the style.

Just a suggestion :)

pandusetiawan 03-08-2011 10:53 AM

Hi Dartho....could you help me to add forum navigation on navbar?So user can jump to the sub-forum above.
Like this....
http://asixfiles.com/imagea6/out.php/i4954_bread.jpg

Thank you in advanced... :D

siriuxs 03-09-2011 09:20 AM

Hi to all... I have vbulletin 4.0.8 and this product isn't functionally... I have install Lightweight Style, and after this plugin... I set it to default style for mobile device... but if I go on my forum from my iphone forum.hdblog.it, is visualized the default theme for pc desktop... why?

dartho 03-09-2011 08:58 PM

Becasue this doesn't change styles. Try this one: https://vborg.vbsupport.ru/showthread.php?t=249967 or vBulletin's one in 4.1.2

blizmop 03-22-2011 12:09 AM

Hi Dartho. Thank you for the mobile skin style. It's working excellent for me. My users are complaining that they cannot change back to the desktop styles so I tried to download and install these options. I downloaded "product-lsoptions.xml" but I am not sure what to DO with that file. I uploaded it with the style manager, creating a new style but that was fruitless. Can you point me in the right direction please?

Thanks again.

dartho 03-22-2011 03:20 AM

you should read the post immediately before yours.. :rolleyes:

ssslippy 05-12-2011 05:15 AM

Just a note the disable whats going on doesnt work.

charlesr 05-17-2011 03:37 PM

Does this need to be uninstalled before or after uninstalling the lightweight style?

dartho 05-17-2011 09:32 PM

it should make no difference

charlesr 05-18-2011 08:53 AM

Thanks for the swift response. The reason I ask is that I uninstalled the style but now when trying to uninstall the options plugin 1.0.0 (in 4.1.3) I get:

Invalid SQL:
ALTER TABLE `post` DROP `mobile`;

MySQL Error : Can't DROP 'mobile'; check that column/key exists
Error Number : 1091

So I was wondering how best to proceed.

Note: I have installed the official vbulletin mobile - unsure if that makes any difference, but thought I'd mention it.

dartho 05-18-2011 09:14 AM

Chances are when you installed (or when you first attemnpted to uninstall) this you had a timeout or errors which caused the tables to not be created, and now when trying to drop teh tables it can't as they aren't there.

What you can do is go into the product manager and edit this product and delete teh contents of teh Uninstall Code. Then when you uninstall it will remove everything except the database columns which aren't actually there anyway.

charlesr 05-18-2011 10:15 AM

Great. All sorted. Much appreciated.

Filgga 06-12-2011 05:44 PM

Sad,

This' causing database errors on vB 4.1.4

Had to disable


All times are GMT. The time now is 07:53 AM.

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.01370 seconds
  • Memory Usage 1,819KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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