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)

Defkalion 11-04-2011 11:49 PM

This is a great style,

@dartho: can you please empty your pm box? i want to get in contact with you for some custom work.

djbaxter 11-05-2011 03:41 PM

One problem: The option to hide "What's Going On" / "Who's Online" isn't working for me (4.1.7), whether I'm logged in or viewing as a Guest.

dartho 11-06-2011 12:35 AM

Quote:

Originally Posted by djbaxter (Post 2264737)
One problem: The option to hide "What's Going On" / "Who's Online" isn't working for me (4.1.7), whether I'm logged in or viewing as a Guest.

Edit the FORUMHOME template, search for
HTML Code:


<!-- what's going on box -->

and replace with
HTML Code:

<vb:if condition="$vbulletin->options['ls_whats_on']">
<!-- what's going on box -->

then search for (near end of template)
HTML Code:

<div class="oldwindowbg">{vb:raw upcomingevents}</div>
</vb:if>
{vb:raw footer}

and replace with
HTML Code:

<div class="oldwindowbg">{vb:raw upcomingevents}</div>
</vb:if>
</vb:if>
{vb:raw footer}


djbaxter 11-06-2011 01:38 AM

Quote:

Originally Posted by dartho (Post 2264831)
Edit the FORUMHOME template, search for
HTML Code:


<!-- what's going on box -->

and replace with
HTML Code:

<vb:if condition="$vbulletin->options['ls_whats_on']">
<!-- what's going on box -->

then search for (near end of template)
HTML Code:

<div class="oldwindowbg">{vb:raw upcomingevents}</div>
</vb:if>
{vb:raw footer}

and replace with
HTML Code:

<div class="oldwindowbg">{vb:raw upcomingevents}</div>
</vb:if>
</vb:if>
{vb:raw footer}


Thanks! That did it. :up:

demonfatal 11-10-2011 11:54 AM

Something is wrong with the "Move thread" option...
Even if the "Yes" in "Redirect?" is unticked, the "Moved:" appear...
Please could you check and let me know how to solve this issue... Thanks

The Rocketeer 11-18-2011 01:04 PM

when will you update this dartho? VBulletin 4.1.8 is out..
:)

djbaxter 11-18-2011 01:41 PM

Quote:

Originally Posted by The Rocketeer (Post 2269206)
when will you update this dartho? VBulletin 4.1.8 is out..
:)

And this style continues to work. Better than vBulletin's version, in fact. :)

Filgga 11-19-2011 05:07 AM

Quote:

Originally Posted by djbaxter (Post 2269218)
And this style continues to work. Better than vBulletin's version, in fact. :)

I doubt, when someone goes to the page /private.php there's an error (after upgrade to 4.1.8). The sender of the Private Message is not displayed, you end up getting 'Array' as the sender.

Probably this' facing me alone?

thenamesgould 11-19-2011 08:07 AM

It is great, but I have a few problems. Big row of smileys appears under the edit box when you quote a post, and then when you post that reply, line breaks are removed. The reply box is also wider than the width of the page.

There were solutions to this earlier on in thie thread, but they didn't seem to work as intended for me, so I reverted to the original.

I'd love for those to be fixed, but this is still a great mobile skin, so I still use it.

K4GAP 11-19-2011 09:14 PM

Before I install this I have one question. When someone connects to my site using mobile device, will they be directed to this style? Or, do they need to be given a different url?

The Rocketeer 11-19-2011 11:18 PM

Quote:

Originally Posted by GaryT (Post 2269714)
Before I install this I have one question. When someone connects to my site using mobile device, will they be directed to this style? Or, do they need to be given a different url?

I am pretty sure if you install the mobile detection script mod (that comes with this) then the users mobile device gets detected and then they are auto directed to this style. :)

The Rocketeer 11-19-2011 11:22 PM

Well, There has been so many changes that have undergone between vBulletin 4.1.2 - 4.1.8 that some issues are bound to arise unless this style gets updated. I like many others think 4.1.8 warrants an Update, dartho. When will you be updating this? :)

MaXimus 11-20-2011 07:55 PM

I installed it but I have a small Glitch

When viewing the mobile site from my BlackBerry smartphone, I see a red x next to each subforum on the left if the image path is wrong (but it's not even supposed to show an image) but when I view the lightweight style from my pc it displays just fine


The way I have setup my forum is, for each subforum there is an image located in a folder, so for example, the first subforum in my Forums is called General Discussion, and the path for its image is /Discuss/ as that Discuss folder contains the same image renamed into:

- forum_link-48
- forum_new_lock-48
- forum_new-48
- forum_old_lock-48
- forum_old-48


This is done to each and every other subforum so maybe that is why it is appearing as an X on the mobile

See how it looks from the PC and mobile below and please advice me what I need to do to not show those Red Xs on the mobile

From PC:

http://img534.imageshack.us/img534/926/frompc.png



From Mobile:

http://img717.imageshack.us/img717/5912/frommobile.png

dartho 11-20-2011 09:55 PM

@MatrixLeader - This style is expecting to find files forum_new_lock-16, forum_old_lock-16, plus any other "16" images from the images/statusicon directory in that directory also

@Filgaa / Rocketeer : one day, one day - the thing is that I don't actually use vb4 so updates can take a while

MaXimus 11-20-2011 10:31 PM

Quote:

Originally Posted by dartho (Post 2270099)
@MatrixLeader - This style is expecting to find files forum_new_lock-16, forum_old_lock-16, plus any other "16" images from the images/statusicon directory in that directory also

Thanks a lot man! that solved it!

I copied all the images pertaining to -16 from the statusicon root to each individual imaces folder I have assigned to my custom status images and it worked!!!

PS: I've nominated this tyle as style of the month because it simply looks fantastic on a mobile phone

Mr Peabody 11-21-2011 07:17 PM

Quote:

Originally Posted by Filgga (Post 2269438)
I doubt, when someone goes to the page /private.php there's an error (after upgrade to 4.1.8). The sender of the Private Message is not displayed, you end up getting 'Array' as the sender.

Probably this' facing me alone?

We have the same issue.

Courty 11-21-2011 09:13 PM

Quote:

Originally Posted by thenamesgould (Post 2269465)
It is great, but I have a few problems. Big row of smileys appears under the edit box when you quote a post, and then when you post that reply, line breaks are removed. The reply box is also wider than the width of the page.

There were solutions to this earlier on in thie thread, but they didn't seem to work as intended for me, so I reverted to the original.

I'd love for those to be fixed, but this is still a great mobile skin, so I still use it.

I have the same issues, and have not been able to find a working solution.

The Rocketeer 11-23-2011 01:05 AM

Quote:

Originally Posted by dartho (Post 2270099)
one day, one day - the thing is that I don't actually use vb4 so updates can take a while

We'll be waiting and watching dartho. :D

Until then, Could you at least add the edits required or links to the edits on your first post? that way many new users wont have to go through nearly 600 Posts to get it fully stable and working with 4.1.8. :)

thenamesgould 11-23-2011 06:57 AM

Quote:

Originally Posted by dartho (Post 2270099)
@Filgaa / Rocketeer : one day, one day - the thing is that I don't actually use vb4 so updates can take a while

Whenever you do, I'll be very grateful, but until then I'm just happy to be using it as is. :)

Filgga 11-24-2011 09:12 AM

Quote:

Originally Posted by dartho (Post 2270099)
@Filgaa / Rocketeer : one day, one day - the thing is that I don't actually use vb4 so updates can take a while

Will appreciate getting in touch with you, I have something personal. Noted and THANKS.

Your inbox is FULL.
Quote:

Originally Posted by Mr Peabody (Post 2270449)
We have the same issue.

I thought it was my own fault, dartho gonna fix this hopefully.
Quote:

Originally Posted by The Rocketeer (Post 2270990)
We'll be waiting and watching dartho. :D

Until then, Could you at least add the edits required or links to the edits on your first post? that way many new users wont have to go through nearly 600 Posts to get it fully stable and working with 4.1.8. :)

Good recommendation, seconded!

dartho 11-24-2011 09:28 PM

Quote:

Originally Posted by Filgga (Post 2269438)
when someone goes to the page /private.php there's an error (after upgrade to 4.1.8). The sender of the Private Message is not displayed, you end up getting 'Array' as the sender.

Replace the contents of the pm_messagelistbit template with
Code:

<div class="thread_<vb:if condition="$show['unread']">
new</vb:if>"><img src="{vb:stylevar imgdir_statusicon}/pm_{vb:raw pm.statusicon}.png" class="threadicon" alt="" /> <a href="private.php?{vb:raw session.sessionurl}do=showpm&amp;pmid={vb:raw pm.pmid}" class="title">{vb:raw pm.title}</a>

        </div>
<div class="windowbg" id="pm_{vb:raw pm.pmid}">
                <vb:each from="userbit" value="row">
                        <a href="{vb:link member|js, {vb:raw row}}" class="username understate">{vb:raw row.username}</a>{vb:raw row.comma}
                </vb:each>
        : {vb:raw pm.senddate},&nbsp;<span class="time">{vb:raw pm.sendtime}</span>
</div>


dartho 11-24-2011 09:42 PM

Also, to get rid of the vertical smilies in new replies etc, delete the contents of the editor_clientscript template and replace the contents of the editor_ckeditor template with that of the editor_toolbar_offtemplate

Mr Peabody 11-25-2011 07:54 PM

Quote:

Originally Posted by dartho (Post 2271597)
Replace the contents of the pm_messagelistbit template with
Code:

<div class="thread_<vb:if condition="$show['unread']">
new</vb:if>"><img src="{vb:stylevar imgdir_statusicon}/pm_{vb:raw pm.statusicon}.png" class="threadicon" alt="" /> <a href="private.php?{vb:raw session.sessionurl}do=showpm&amp;pmid={vb:raw pm.pmid}" class="title">{vb:raw pm.title}</a>

        </div>
<div class="windowbg" id="pm_{vb:raw pm.pmid}">
                <vb:each from="userbit" value="row">
                        <a href="{vb:link member|js, {vb:raw row}}" class="username understate">{vb:raw row.username}</a>{vb:raw row.comma}
                </vb:each>
        : {vb:raw pm.senddate},&nbsp;<span class="time">{vb:raw pm.sendtime}</span>
</div>


Thanks for that :)

Amadeusmq 11-25-2011 08:14 PM

Would it be a great deal of work to make this style work a bit better with this addon: https://vborg.vbsupport.ru/showthread.php?t=270346 ?

If you need an example, my forums has a bunch of these (i.e., http://www.isxgames.com/forums/project.php?projectid=3 )

dartho 11-25-2011 11:20 PM

@Amadeus - Sorry, that is very unlikely to happen

Amadeusmq 11-25-2011 11:54 PM

Quote:

Originally Posted by dartho (Post 2271958)
@Amadeus - Sorry, that is very unlikely to happen

Ok, then how about settings where you could indicate various forum IDs where the addon would switch automatically to the 'default site style', but then switch back to the 'light style' when not in those forums.

Or, is that not possible with the vbulletin addon API?

dartho 11-26-2011 12:27 AM

vBulletin can by default Force forums to styles in the forum properties

Amadeusmq 11-26-2011 12:53 AM

Quote:

Originally Posted by dartho (Post 2271972)
vBulletin can by default Force forums to styles in the forum properties

Ah, I didn't know that. I'll check it out.

thenamesgould 11-26-2011 10:52 AM

Quote:

Originally Posted by Filgga (Post 2269438)
I doubt, when someone goes to the page /private.php there's an error (after upgrade to 4.1.8). The sender of the Private Message is not displayed, you end up getting 'Array' as the sender.

Probably this' facing me alone?

I'm also getting "Array" in place of the forum member's names whose birthday it is, at the bottom of the main home forum.

thenamesgould 11-26-2011 10:58 AM

Quote:

Originally Posted by dartho (Post 2271601)
Also, to get rid of the vertical smilies in new replies etc, delete the contents of the editor_clientscript template and replace the contents of the editor_ckeditor template with that of the editor_toolbar_offtemplate

If I do this, then hit Reply ... the message that I'm replying to appears like this:

PHP Code:

[QUOTE=jamesgould;277526]Message content ...[/QUOTE]<br />
<
br /> 


But on the upside, it does retain the line breaks when I do the post. So if those random <br />'s could be removed, I think that would solve my main problem with the style.

thenamesgould 11-26-2011 11:06 AM

Ahh, hold on - noticed a couple more issues with that fix. The quoted text has a problem too ... a smiley in it appears like this:

PHP Code:

<img src="images/smilies/lol.gif" border="0" alt="" title="Laughing" smilieid="81" class="inlineimg" /> 

Rather than an actual image.

And if I go to edit the post then I get this:

PHP Code:

&lt;br /&gt;<br />
&
lt;br /&gt;<br />
<
br />
Test.<br />
<
br />
Test


dartho 11-26-2011 11:26 AM

Quote:

Originally Posted by thenamesgould (Post 2272081)
If I do this, then hit Reply ... the message that I'm replying to appears like this:

PHP Code:

<br />
<
br /> 


But on the upside, it does retain the line breaks when I do the post. So if those random <br />'s could be removed, I think that would solve my main problem with the style.

But it did not have this problem before making those chnages? If this is the case, try reverting the editor_clientscript template. For what its worth, I've never been able to reproduce the errant "<br />" problem, so I think it's a combination of factors causing it - makes it hard to pin down

hhumas 11-26-2011 12:53 PM

can i get this for vb 4.1.4

thenamesgould 11-26-2011 11:14 PM

Quote:

Originally Posted by dartho (Post 2272091)
But it did not have this problem before making those chnages? If this is the case, try reverting the editor_clientscript template. For what its worth, I've never been able to reproduce the errant "<br />" problem, so I think it's a combination of factors causing it - makes it hard to pin down

No, it's not an issue before those changes.

Just gave that a go and it didn't make any difference - the "<br />"s still appear.

tafreeh 11-28-2011 04:05 AM

Is there any way to prevent showing thread content text format ? ?

coz, in my forum ppl likes to use different color and bigger text that does not really looks good on this theme.. Is there any way not to show txt format and just to show simple text... ??

CILGINKRAL_ 11-29-2011 11:10 AM

vBulletin 4.1.8 version that is compatible?

Robru 11-29-2011 06:58 PM

When someone goes to the end of forum.php there's an error (after upgrade to 4.1.8). The birthday users are not displayed, you end up getting 'Array'.

Bounce 11-29-2011 09:35 PM

Quote:

Originally Posted by Robru (Post 2273117)
When someone goes to the end of forum.php there's an error (after upgrade to 4.1.8). The birthday users are not displayed, you end up getting 'Array'.

https://vborg.vbsupport.ru/showthrea...97#post2271597 worked for me :erm:

edit : sorry that was to sort pm's lol

dartho 11-29-2011 10:04 PM

Quote:

Originally Posted by thenamesgould (Post 2272080)
I'm also getting "Array" in place of the forum member's names whose birthday it is, at the bottom of the main home forum.

Edit the FORUMHOME template and search for the birthday block (Starts with <vb:if condition="$show['birthdays']"> and ends with teh next </vb:if>), remove it and replace with. You can then revert the forumhome_birthday_bit template (which should actually remove it as it is no longer used)

Code:

<vb:if condition="$show['birthdays']">
<!-- today's birthdays -->
<div class="navbar">{vb:rawphrase todays_birthdays}</div>
<div class="oldwindowbg">
        <img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />
        <vb:each from="birthdays" value="row">
                <a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}
        </vb:each>
</div>
<!-- end today's birthdays -->
</vb:if>


Robru 11-30-2011 08:24 AM

Quote:

Originally Posted by dartho (Post 2273172)
Edit the FORUMHOME template and search for the birthday block (Starts with <vb:if condition="$show['birthdays']"> and ends with teh next </vb:if>), remove it and replace with. You can then revert the forumhome_birthday_bit template (which should actually remove it as it is no longer used)

Code:

<vb:if condition="$show['birthdays']">
<!-- today's birthdays -->
<div class="navbar">{vb:rawphrase todays_birthdays}</div>
<div class="oldwindowbg">
        <img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />
        <vb:each from="birthdays" value="row">
                <a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}
        </vb:each>
</div>
<!-- end today's birthdays -->
</vb:if>


Perfect! Works very good! :)


All times are GMT. The time now is 06:52 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.02805 seconds
  • Memory Usage 1,875KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_html_printable
  • (4)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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