vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

inphoenix 12-12-2011 05:28 AM

Quote:

Originally Posted by dartho (Post 2276968)
The only other ad hook location in threads is the first post sig. I think that if those ad hooks I asked you to add to the postbit template aren't doing it, your problem lays elsewhere. Alternatively there are header and footer hooks that can be added in.

The banner at start of first post is working fine. I want to add another one at the end of thread.

Please tell me how to add footer hook.

S_E_A 12-12-2011 10:11 AM

Hello Dartho,

I'm having a problem with resizing images. I tried the suggested method in post #333, but unfortunately it did not resolve the problem.

Is there another method I can try? I'd prefer the images to be resized rather than have them as a link.

Thank you.

dartho 12-12-2011 09:28 PM

@SEA - you could try editin the CSS file and adding the following [s]before teh ?>[/s] at the end of the file

Code:

img {
max-width: 200px;
}

@inphoenix - the ad_footer_start and global_above_footer ad hooks are already there. Perhaps your ad provider or ad script is only alklowing a single ad at a time? Try disabling other locations to see if they show up

inphoenix 12-12-2011 10:39 PM

Quote:

Originally Posted by dartho (Post 2277147)
@inphoenix - the ad_footer_start and global_above_footer ad hooks are already there. Perhaps your ad provider or ad script is only alklowing a single ad at a time? Try disabling other locations to see if they show up

Thanks. Adding it to ad_footer_start worked.

S_E_A 12-13-2011 08:39 AM

Quote:

Originally Posted by dartho (Post 2277147)
@SEA - you could try editin the CSS file and adding the following before teh ?> at the end of the file

Code:

img {
max-width: 200px;
}


Sorry, where exactly should I place the above, dartho?

dartho 12-13-2011 09:15 AM

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.

S_E_A 12-13-2011 10:52 AM

No joy unfortunately, mate.

Images are resizing when I switch to the lightweight style on desktop, but not on mobile device.

dartho 12-13-2011 11:48 AM

Quote:

Originally Posted by S_E_A (Post 2277298)
No joy unfortunately, mate.

Images are resizing when I switch to the lightweight style on desktop, but not on mobile device.

what device - perhaps there just isn't the support in that mobile browser, in which case there is little you can do ...

actually - try deleting your cache etc and see if that helps...

S_E_A 12-13-2011 01:05 PM

Tut... Worked a treat. Cheers mate ;)

Hippy 12-14-2011 01:09 AM

great style.. 2 thumbs up
been reading it all here to apply all the fixes posted ..
thanks to everyone that posted a fix..

one thing tho I didn't find here is when you click on User CP
it is always showing
New Private Messages : (1)
even with none ... or if you have 3 it shows 4

weird

anyone with a fix for this would be greatly appreciated


All times are GMT. The time now is 09:06 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.01971 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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