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)

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?


All times are GMT. The time now is 07:37 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.01162 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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