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 - Mobile Style for vBulletin 4.0 (https://vborg.vbsupport.ru/showthread.php?t=228986)

momon 05-16-2010 06:25 PM

Is anyone using 4.0.3 able to report if this working okay?

CvP 05-17-2010 04:31 AM

working fine.

btw, dartho, you might wanna add "display: inline" for tag li elements.
or better yet, remove tags from mobile display.

waderow 05-17-2010 11:37 PM

if I already have a custom style, will I be able to also have a mobile style that only works if it senses a mobile device? or am I stuck with generic style for PC, and mobile style for handheld?

dartho 05-18-2010 12:37 AM

you can have as many different styles as you wish...

demonfatal 05-18-2010 05:06 PM

Please who can explain why when I try to edit the "forumhome" template I get this error:
Quote:

The following error occurred when attempting to evaluate this template:
Unclosed Curly Brace Expression
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

momon 05-18-2010 07:48 PM

Quote:

Originally Posted by Charis (Post 2037244)
Hi,

I use the add on "every sidebar" and I 've the same problem with starli, in search page.

I followed the istructions you gave

but the problem remains.

Any idea?

Thanks in advance.

I have this same problem. The disable code above did not work for me either. using the same mod as reported by the user above.

momon 05-18-2010 07:54 PM

Quote:

Originally Posted by momon (Post 2039450)
I have this same problem. The disable code above did not work for me either. using the same mod as reported by the user above.

I was able to easily solve this problem. The mod reported above has an option to ignore for specific styles. Just enter your mobile style ID in there and problem solved.

Charis 05-19-2010 07:42 AM

Thanks momon.
I had not noticed that option.

FractalizeR 05-19-2010 08:34 AM

This style has templates in v3 format. "Mark forums read" don't work (template needs to be corrected).

FractalizeR 05-20-2010 07:24 AM

Try to mark all forums read ;) It will throw error.

dartho 05-20-2010 08:16 AM

Edit the ForumHome template for teh mobile style, search for
Code:

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
and replace with

Code:

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>

NNJJ 05-20-2010 01:42 PM

i install it and the options too but nothing happen when i browser from my blackberry i still see the defult style!!!

what i am missing

thanks

WhiskeyOSS 05-20-2010 01:58 PM

Quote:

Originally Posted by NNJJ (Post 2040532)
i install it and the options too but nothing happen when i browser from my blackberry i still see the defult style!!!

what i am missing

thanks


I have the same problem..

dartho 05-20-2010 09:45 PM

it's just a style, you need to select it. I suggest you also install https://vborg.vbsupport.ru/showthread.php?t=229044 and if you want some mobile detection, this: https://vborg.vbsupport.ru/showthread.php?t=226946

FractalizeR 05-21-2010 06:31 AM

Quote:

Originally Posted by dartho (Post 2040400)
Edit the ForumHome template for teh mobile style, search for
Code:

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
and replace with

Code:

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>

Have you tried to edit styles? VBulletin throws errors about missing bracket and refuses to save this style. Did I miss something? Also, I think this should be used in style.

NNJJ 05-21-2010 09:30 AM

can we have this by auto mobile?

dartho 05-21-2010 10:21 AM

Quote:

Originally Posted by FractalizeR (Post 2041070)
Have you tried to edit styles? VBulletin throws errors about missing bracket and refuses to save this style. Did I miss something? Also, I think this should be used in style.

I had no issue making the change. Does vBulletin have an issue if you just add a blank line at the end of teh template and save it?

dartho 05-21-2010 10:21 AM

Quote:

Originally Posted by NNJJ (Post 2041188)
can we have this by auto mobile?

I'm sorry - could you re-phrase that, I'm not sure I understand

NNJJ 05-21-2010 12:04 PM

when i visit my site via blackberry its still show the pc style; meaning i have to choose the mobile style
any chance that the mobile style will be default for any one visit website from mobile
user dont need to switch to mobile style it will be dedicated mobile style by auto

FractalizeR 05-21-2010 12:44 PM

Quote:

Originally Posted by dartho (Post 2041214)
I had no issue making the change. Does vBulletin have an issue if you just add a blank line at the end of teh template and save it?

No, I can edit other templates ok. Can you publish a style with this correction applied?

dartho 05-21-2010 08:27 PM

Quote:

Originally Posted by NNJJ (Post 2041297)
when i visit my site via blackberry its still show the pc style; meaning i have to choose the mobile style
any chance that the mobile style will be default for any one visit website from mobile
user dont need to switch to mobile style it will be dedicated mobile style by auto

I suggest you also install https://vborg.vbsupport.ru/showthread.php?t=229044 and also for want some mobile detection, this: https://vborg.vbsupport.ru/showthread.php?t=226946

NNJJ 05-22-2010 08:32 AM

https://vborg.vbsupport.ru/showthread.php?t=229044
this one installed already

and for this one
https://vborg.vbsupport.ru/showthread.php?t=226946
its for vB Version: 3.8.4
my version is 4.3

dartho 05-22-2010 09:53 PM

Quote:

Originally Posted by NNJJ (Post 2041777)
and for this one
https://vborg.vbsupport.ru/showthread.php?t=226946
its for vB Version: 3.8.4
my version is 4.3

It works

steven s 05-23-2010 08:35 PM

My members like this better than tapatalk.
Thanks!
Now to install it on my 3.8.5 board too.

NNJJ 05-24-2010 05:00 PM

Quote:

Originally Posted by dartho (Post 2042018)
It works



nice thanks!!

tafreeh 05-25-2010 03:27 AM

can you make VSA-Chatbox work with this style please.. or any other chatbox

Skyrider 05-25-2010 05:37 AM

Can you make it so that you can switch / choose styles? I can't find the option.

dartho 05-25-2010 08:30 AM

Install https://vborg.vbsupport.ru/showthread.php?t=229044 for extra options

dartho 05-26-2010 10:02 PM

Quote:

Originally Posted by tafreeh (Post 2042992)
can you make VSA-Chatbox work with this style please.. or any other chatbox

You should probably ask in the chatbox threads...

jmwking 05-27-2010 05:10 PM

I really like this mobile style, and the two other mods to help manage it. I do have a couple questions, though.

What would be the template code to add the "add infraction" and "report post" links, in a similar format to the [Edit] and [Reply] links, perhaps [Report] and [Infract] or some such?

How can I add an appropriate [New] link to a thread title to get it to jump to the first new (unread) post in a thread?

thanks,

-jk

dartho 05-27-2010 10:02 PM

There's a few things which I need to update in here - check here for the jump to last : https://vborg.vbsupport.ru/showthrea...89#post1977789

I;ll get back to you on the others, "report" is easy enough. Infract may not be

jmwking 05-28-2010 12:59 PM

Quote:

Originally Posted by dartho (Post 2044317)
There's a few things which I need to update in here - check here for the jump to last : https://vborg.vbsupport.ru/showthrea...89#post1977789

I;ll get back to you on the others, "report" is easy enough. Infract may not be

Thanks.

If I manually add (board)/infraction.php?do=report&p=x to the url, I was able to give an infraction to post x. It can work at some level.

It wasn't pretty, though: after submitting the infraction, it remained on the same "give infraction" page so I couldn't really be sure it worked. When I navigated back to the page, though, the post did have the infraction.

-jk

jmwking 06-01-2010 01:05 PM

I'm adding a bit of functionality back to this very useful style, building for a smart phone with a larger screen - i.e., iphone, blackberry, or android.

I pulled language from the default postbit template, trimed it down, and added to the mobile postbit template. I thought I'd document my efforts here if anyone else wanted to use them.

Issue infraction or warning:
Code:

<vb:if condition="$show['infractionlink']"><a href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}">[Infract]</vb:if>
Show received infraction or warning:
Code:

<vb:if condition="$show['redcard']"><a href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}">[Red]</a>

<vb:elseif condition="$show['yellowcard']" /><a href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}">[Yellow]</a></vb:if>

Report post:
Code:

<vb:if condition="$post['reportlink']"><a href="{vb:raw post.reportlink}">[Report]</a></vb:if>

I still need to work on the infraction page itself - it won't show that the infraction actually gets issued, though it does issue it.

Continuing my documentation, I added a "view deleted thread" link in threadbit_deleted:

Code:

<vb:if condition="$show['viewthread']"><a href="showthread.php?{vb:raw thread.threadid}">[{vb:rawphrase view}]</a></vb:if>
-jk

FractalizeR 06-02-2010 10:00 AM

Can you post resulting xml file with complete style? I want it upgraded too ;)

jmwking 06-03-2010 02:41 AM

Quote:

Originally Posted by FractalizeR (Post 2047007)
Can you post resulting xml file with complete style? I want it upgraded too ;)

I'll be happy to share when I'm mostly done with it, but I'm not sure it would be proper. I think I'd like to get an OK from the original poster first, and add a large caveat that I'm new at this stuff.

-jk

FractalizeR 06-03-2010 06:52 AM

Ok ;) waiting for it ;) BTW, did you fix "Mark posts as read" link?

dartho 06-03-2010 09:16 AM

Fract - Did you see my reply to your post on this here https://vborg.vbsupport.ru/showpost....&postcount=212

This and otehr fixes/updates will be incorporated in a future release, but jmwking's additions may not.

However, jmwking is welcome to post attachments in this thread, these of course won't get updated as this style does. If I work on templates associated with these edits, then that's another story - but I don;t have plans to in the immediate future.

Best bet is to summarise all your edits in a single post (go back and re-edit it) and I"ll add a link to it in the first post for those that are interested.

texasteamplayer 06-03-2010 05:42 PM

sideblock everywhere mod pushes sideblock into this when viewing profile and other pages (groups, I think as well). come to my forum and see.

dartho 06-03-2010 09:19 PM

could you link me to the mod?

Boots 06-03-2010 09:27 PM

This may have been mentioned already but how about a quote feature :)


All times are GMT. The time now is 04:27 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.01696 seconds
  • Memory Usage 1,828KB
  • 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
  • (8)bbcode_code_printable
  • (14)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
  • (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