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)

The Rocketeer 12-21-2011 11:06 AM

No Dartho, That merging technique didn't work out very well :(
But I have made a list of minor changes and code edits to make it work and look like styleid 7.

I will see how that goes and if I can post them here, so others like me can improve the look of their CMS. Maybe you can include them in the next update of this style. I really wish the merging thing worked though.

Let me know if you find any code edits worth mentioning or other ways to do this.

dartho 12-21-2011 11:14 AM

Quote:

Originally Posted by The Rocketeer (Post 2279682)
Maybe you can include them in the next update of this style. I really wish the merging thing worked though.

That's the thing - I can;t include them as vBulletin doesnlt export them with the style!


have a look in that CMSONLY XML file to see the templates and code I used on vbdev - add these in manually and I';m sure it will work out.

The issue seems to be a vbulletin bug perhaps? I've posted asking for assistance with it

rajcolmo 12-21-2011 04:46 PM

Updated to 4.1.9 then went to install this from the latest version and got this:

This file was created using a different version of vBulletin from the one you are running.

Your version: 4.1.9
File version: 4.1.8

fly 12-21-2011 05:38 PM

Quote:

Originally Posted by rajcolmo (Post 2279773)
Updated to 4.1.9 then went to install this from the latest version and got this:

This file was created using a different version of vBulletin from the one you are running.

Your version: 4.1.9
File version: 4.1.8

So check the box to ignore the version.

rajcolmo 12-21-2011 10:39 PM

duh... missed that... thanks~!

tafreeh 12-22-2011 04:51 PM

Quote:

Originally Posted by dartho (Post 2275506)
I haven;t forgotten you - it's just that I've been fixing style bugs - your request is not related to this style as such.

Having said all that - I'll try and point you in the right direction -

To strip all HTML tags from posts for a specific style ID, create a plugin as follows:

Product:vBulletin
Hook Location: Postbit Disaply Complete
Name: Strip HTML from Mobile Style Posts
Execution Order:5
Code:
Code:

if (STYLEID=='n') {
$post['message']=strip_tags($post['message'],'<br><a>');
}

replace 'n' with teh styleid of your lightweight style.

the bit in teh code with teh <br><a> is HTML tags you wish to allow, if you want images, add in <img>, if you want <stong> add it in etc. Google php strip_tags

how can I allow Quote and Code ?

dartho 12-22-2011 09:33 PM

Mmm.. try allowing <pre> tags at a guess...

Hippy 12-24-2011 01:40 PM

iphone and a few other phones you are not able to use the attachments
it work under pc /desktop

CappingTheGame 12-24-2011 06:50 PM

Spectacular development, and much thanks. Just a couple of questions that I'm sure will be an easy answer for you.

1.) Upon entering a thread on the mobile version and trying to scroll, I am continuously returned to the bottom of the screen unless I keep my finger on the touchscreen mobile device. It automatically returns me to the bottom. Setting? Installed improperly? Just curious.

2.) Will a feature where you're able to view the thread starter be coming any time soon? Tons of requests on that. Also possibly a last poster or thread starter on the main forum page? Again, curious.

Thanks for your hard work, it is appreciated.

dartho 12-25-2011 10:33 PM

Quote:

Originally Posted by Hippy (Post 2280688)
iphone and a few other phones you are not able to use the attachments
it work under pc /desktop

I can tell you how to remove the attachment button or implement fixes people find, but it works on my phone and that's what it is developed for.

Quote:

Originally Posted by CappingTheGame (Post 2280753)
Spectacular development, and much thanks. Just a couple of questions that I'm sure will be an easy answer for you.

1.) Upon entering a thread on the mobile version and trying to scroll, I am continuously returned to the bottom of the screen unless I keep my finger on the touchscreen mobile device. It automatically returns me to the bottom. Setting? Installed improperly? Just curious.

I've not heard of that one before? What type of device?
Quote:

2.) Will a feature where you're able to view the thread starter be coming any time soon? Tons of requests on that. Also possibly a last poster or thread starter on the main forum page? Again, curious.

Thanks for your hard work, it is appreciated.
That would be easy to add in if you wish - where abouts do you want the thread starter name to appear?


All times are GMT. The time now is 08:52 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.02007 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (6)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