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)

Ommand 06-28-2011 05:04 PM

1 Attachment(s)
I'm having a little bit of a hiccup using the provided plugin to disable vbadvanced integration.

If I view the forums from my desktop browser and select the Lightweight style everything displays correctly, if I view the same page from my phone (htc desire) the forum integration remains and the forums generally display broken, as seen in the attached screenshot.

Any thoughts what the issue could be?

P.S. I have the plugin installed and it appears to be correctly configured.

Edit: Sorry disregard, had to clear my phone's cache. Excellent theme / plugin, thanks a lot!

dartho 06-28-2011 10:06 PM

Quote:

Originally Posted by leftanalog (Post 2214152)
Ive been looking through the templates, but am unsure what I need to add/change to get the "Post thank you" hack to work with this lightweight style.

If someone could please help.
Thanks a ton.

You should as in the post thanks hack thread - they would have a a much better idea than I.
Quote:

Originally Posted by Ommand (Post 2214164)
...Any thoughts what the issue could be?

P.S. I have the plugin installed and it appears to be correctly configured.


Edit: Sorry disregard, had to clear my phone's cache. Excellent theme / plugin, thanks a lot!

Glad to hear is OK - as an aside, that screen dump shows you don;t have this style installed, but the old Moile style I originally did.

Ommand 06-29-2011 05:59 PM

Weird, I'm most certainly using the latest version from this thread. Perhaps it has something to do with me being on an older version of vbulletin.

dartho 06-29-2011 10:28 PM

I guess you fixed it? Looks like t he right version on your site.

The Dawg 07-02-2011 08:11 PM

1 Attachment(s)
Quote:

Originally Posted by struff (Post 2097230)
A couple of questions:

2) Sometimes videos show up as the entire video and sometimes just a link "Youtube Video". Any idea why?
.

Quote:

Originally Posted by dartho (Post 2097304)
2. DO you have any media embedding plugins? The videos natively supported by vBuilletin would show as links, but of you have AME or other BBCODE, it would show as a video.

I am using 4.1.4, so the VB [ video ] code is used for embeds now. Is there a way I could get the youtube vids to show up as videos instead of links?



FIXED:

I replaced the bbcode_video template with the code from the VB mobile skin and it fixed the problem.

dartho 07-02-2011 08:34 PM

try reverting the bbcode_video template

Robbed 07-03-2011 01:32 AM

Since upgrading to 4.14

on post reply the smilies are lined up in a column, any way to fix it?

Robbed 07-03-2011 02:28 AM

Quote:

Originally Posted by The Dawg (Post 2216020)
I am using 4.1.4, so the VB [ video ] code is used for embeds now. Is there a way I could get the youtube vids to show up as videos instead of links?



FIXED:

I replaced the bbcode_video template with the code from the VB mobile skin and it fixed the problem.

Can you post the template. I tried using the one from VB mobiel style and it still embeds.

dartho 07-03-2011 06:33 AM

@robbed - there are now smilies or embeded video in this style - sounds like you've merged templates? Re-install the lightweight one over top perhaps?

Here's teh bbcode_video template for this style - do a compare:
Code:

<vb:if condition="$provider == 'hulu'">
  <a href="http://www.hulu.com/embed/{vb:raw code}" target="_blank">Hulu Video</a>
<vb:elseif condition="$provider == 'youtube'" />
  <a href="http://www.youtube.com/v/{vb:raw code}" target="_blank">Youtube Video</a>
<vb:elseif condition="$provider == 'vimeo'" />
  <a href="http://vimeo.com/moogaloop.swf?clip_id={vb:raw code}" target="_blank">Vimeo Video</a>
<vb:elseif condition="$provider == 'dailymotion'" />
  <a href="http://www.dailymotion.com/swf/{vb:raw code}" target="_blank">Dailymotion Video</a>
<vb:elseif condition="$provider == 'metacafe'" />
  <a href="http://www.metacafe.com/fplayer/{vb:raw code}.swf" target="_blank">Metacafe Video</a>
<vb:elseif condition="$provider == 'google'" />
  <a href="http://video.google.com/googleplayer.swf?docid={vb:raw code}" target="_blank">Google Video</a>
<vb:elseif condition="$provider == 'facebook'" />
  <a href="http://www.facebook.com/v/{vb:raw code}" target="_blank">Facebook Video</a>
</vb:if>


Mr Morningstarr 07-03-2011 05:07 PM

Can't upload the XML file

Quote:

Invalid File Specified

dartho 07-03-2011 08:51 PM

are you trying to do it as a product or style?

Robbed 07-03-2011 09:38 PM

thanks that fixed the video issue.

Do i have to install this style after every upgrade. Doesn't it automatically merge templates?

dartho 07-04-2011 04:20 AM

I think you can not have the automerge thing happen, or after amn upgrade un-merge? I'll takenote when I next do an upgrade :)

blankpage 07-04-2011 05:21 AM

1 Attachment(s)
After I installed this style, I can't see any backgrounds.
I attach 2 pics.
threads appear as a list without divisions

Why?
Thank you.

dartho 07-04-2011 05:29 AM

You haven't upload the CSS file to your forum root

blankpage 07-04-2011 10:24 AM

Ok ! Thank you! Now it works! :)

Mr Morningstarr 07-06-2011 04:02 PM

Quote:

Originally Posted by dartho (Post 2216369)
are you trying to do it as a product or style?

Yes, guess who's feeling pretty damn stupid right now. It had been a long day. ;)

ZeroHour 07-07-2011 12:40 AM

Not sure if it has been mentioned but you should add the show signature code in the showthread template as most would probably want it on/enabled rather then off.

Code:

                <vb:if condition="$bbuserinfo['signature']">
                                        <input type="hidden" name="signature" value="1"/>
                </vb:if>

Also I personally replaced vbcms_page with:
Code:

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
        {vb:raw headinclude}
        <title>{vb:raw vboptions.bbtitle}</title>
        {vb:raw headinclude_bottom}

<script type="text/javascript">
<!--
window.location = "/forums/"
//-->
</script>
</head>
<body>

{vb:raw header}

{vb:raw navbar}

<div id="pagetitle" class="pagetitle ui-bar-b">
        <h1 class="pagetitle">{vb:rawphrase vbulletin_message}</h1>
</div>

<div data-role="content">       
        <div class="ui-body ui-body-e">{vb:rawphrase content_not_supported_by_mobile_style, {vb:link forumhome}}</div>
</div>

{vb:raw footer}

</body>
</html>

It redirects the users to /forums/ which is where my forums are.

EDIT: Another thought too, I would add "Top" links to the bottoms of pages as it can be useful in some scenarios.

thenamesgould 07-07-2011 11:29 AM

I've installed this and it's all working fine, however it's done something to all the rest of my styles, and I now can't edit any of them in the Edit Templates screen.

All the templates have turned yellow, indicating they are inherited from a Parent style ... any idea what I have done and how I can reverse it? It's not much help if I can't edit any templates!

dartho 07-07-2011 10:57 PM

Sounds like it has merged with your master style or you have somehow out it in as a parent?

Question: Did you upload teh XML to your forum and install from there, or install from your local machine by browsing to the XML file and installing?

Either way, try uploading tools.php from the vbulletin install files to your admincp, run it and rebuild the master style (I think that's what it is called - it's one of the first options)

lbrunoa 07-08-2011 03:32 PM

i got on error cause i'm using 4.1.4 and says that is only for 4.1.2

Xtrato 07-08-2011 07:34 PM

it seems that this skin is not working right with the new version of vBulletin ? i think there i no more BB Code..

for example , when you quote someone who has 2 paragraphs.. the format will get lost , such as the spacing , or any text formatting ?...

Any idea on how to solve this particular problem ?

please any help on this matter is appreciated.

dartho 07-08-2011 09:25 PM

Quote:

Originally Posted by lbrunoa (Post 2218196)
i got on error cause i'm using 4.1.4 and says that is only for 4.1.2

Choose to ignore style version when installing
Quote:

Originally Posted by semprot (Post 2218281)
I guess on 1.0.2a the infraction link on each post is missing?
I got that report from one of my moderator after i upgraded the skin (and 4.1.4).
Before i upgraded it, the infraction link was there.

Add
PHP Code:

<vb:if condition="$show['reportlink']"><a id="btn" href="{vb:raw post.reportlink}" rel="nofollow">{vb:rawphrase report_bad_post}</a></vb:if> 

into your postbit template just before the last </div>
Quote:

Originally Posted by Xtrato (Post 2218304)
it seems that this skin is not working right with the new version of vBulletin ? i think there i no more BB Code..

for example , when you quote someone who has 2 paragraphs.. the format will get lost , such as the spacing , or any text formatting ?...

Any idea on how to solve this particular problem ?

please any help on this matter is appreciated.

I can't reproduce this on my test site

Xtrato 07-09-2011 01:07 AM

Hi dartho thank you , can you please check http://www.jamiiforums.com/ , i tested with different skins , and this one tends to do such thing under vb 4.1.4

thanks again.

Robbed 07-12-2011 02:01 AM

Quote:

Originally Posted by dartho (Post 2216127)
@robbed - there are now smilies or embeded video in this style - sounds like you've merged templates? Re-install the lightweight one over top perhaps?

Here's teh bbcode_video template for this style - do a compare:


This about the issue when replying to a thread not quick reply with the mobile style.

You mentioned in your post that no smilies should show up.

I uploaded your style and created a test style and it still does the same thing. I've included a screen shot.


Thanks,

Rob

dartho 07-12-2011 02:06 AM

That's not using the new_reply template that comes with this style, or you have an add-on doing stuff. The new_reply template should be:

Code:

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}">
<head>
        {vb:raw headinclude}

        <title>{vb:raw threadinfo.prefix_plain_html} {vb:raw threadinfo.title} - {vb:raw phrase reply_to_topic}</title>
</head>
<body>

<div class="bodywrapping">


{vb:raw header}

{vb:raw navbar}

<div class="titlebg">{vb:rawphrase reply_to_thread}: {vb:raw threadinfo.title}</div>
<form action="newreply.php" method="post">
<div>
{vb:rawphrase message}:<br />
<vb:comment><textarea name="message" id="{$editorid}_textarea" rows="10" cols="15" style="width:99%; height:100px">{vb:raw newpost.message}</textarea></vb:comment>

{vb:raw messagearea}
<input type="hidden" name="emailupdate" value="
<vb:if condition="$emailchecked[0]!=''">
0
<vb:elseif condition="$emailchecked[1]!=''" />
1
<vb:elseif condition="$emailchecked[2]!=''" />
2
<vb:elseif condition="$emailchecked[3]!=''" />
3
<vb:else />
9999
</vb:if>
">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="postreply" />
<input type="hidden" name="t" value="{vb:raw threadid}" />
<input type="hidden" name="p" value="{vb:raw postid}" />
<input type="hidden" name="specifiedpost" value="{vb:raw specifiedpost}" />
<input type="hidden" name="posthash" value="{vb:raw posthash}" />
<input type="hidden" name="poststarttime" value="{vb:raw poststarttime}" />
<input type="hidden" name="loggedinuser" value="{vb:raw bbuserinfo.userid}" />
<input type="submit" id="btn" name="sbutton" id="{vb:raw editorid}_save" value="{vb:rawphrase submit_reply}" accesskey="s" tabindex="2" />
{vb:raw attachmentoption}

</div>
</form>
{vb:raw footer}
</div>
</body>
</html>

check differences and/or overwrite yours with that and see how you go

Robbed 07-12-2011 04:10 PM

hmm tried it same thing and i disabled pluggins.

Here is part of the source if that helps, it was working before the upgrade/

Code:

t>
<!-- / Editor Scripts --> <div id="vB_Editor_001" class="blockrow texteditor">
        <div class="editor">
                <div class="editor_textbox_container smilie">
                                <div class="editor_textbox editor_textbox_smilie">
                                        <script type="text/javascript" src="clientscript/ckeditor/ckeditor.js?t=A7HG4HT&amp;v=414"></script><script type="text/javascript" src="clientscript/vbulletin_textedit.js?v=414"></script><textarea id="vB_Editor_001_editor" name="message" rows="8" cols="60" tabindex="1">

Code:

<div class="editor_smiliebox">
                       

<ul class="smiliebox floatcontainer" id="vB_Editor_001_smiliebox">
       
<li>


dartho 07-12-2011 10:16 PM

OK - must be on of your editor templates. If you haven;t customised this style, try reinstalling it and merging into your existing lightweight style. This should ensure all templates as the shold be.

Robbed 07-13-2011 12:49 AM

I installed your style from scratch and same thing so it had to be a VB setting.

I removed this code from editor_smileybox

Code:

<vb:comment><h4 class="blocksubhead">Smilies</h4></vb:comment>

<ul class="smiliebox floatcontainer" id="{vb:raw editorid}_smiliebox">
        {vb:raw smiliebits}
</ul>
<vb:if condition="$show['moresmilieslink']">
        <div class="moresmilies">[<a href="javascript://" onclick="vB_Editor['{vb:raw editorid}'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" title="{vb:rawphrase showing_x_smilies_of_y_total, {vb:raw vboptions.smtotal}, {vb:raw totalsmilies}}">{vb:rawphrase more}</a>]</div>
</vb:if>


I'm guessing disabling the smilie boxes in VB would of done the same thing but it would apply to all styles.

Will this cause any other issues by removing this code from the mobile style?

dartho 07-13-2011 01:32 AM

I think that may be a new template, as it does not exist in my style, so deleting it's contents is probably the way to go. To answer your question - no, it will not cause other issues removing that code.

ed: Just looked at my test site, I have that template there same as above.

However, I have deleted the contents of the editor_clientscript template. Also, I have replaced the contents of the contents of the editor_ckeditor template with that of the editor_toolbar_off template

dartho 07-13-2011 01:33 AM

BTW - I am waiting for one more vBulletin upgrade before releasing an updated version which should hopefully fix these issues...

Robbed 07-13-2011 01:46 AM

Thanks again dartho.

thenashy 07-13-2011 11:07 AM

On my forum, when a user quotes, they are getting a <br />. HTML is disabled.

Eg

Quote:

Oh wow Nashy. You are very smart and funny!
<br />
<br />

Na, he's really not!



How would one fix this?

Xtrato 07-15-2011 03:38 PM

Quote:

Originally Posted by thenashy (Post 2219983)
On my forum, when a user quotes, they are getting a <br />. HTML is disabled.

Eg



<br />
<br />

Na, he's really not!



How would one fix this?


This is what happens on jamiiforums.com as well ,any help is appreciated .

Thanks

grc 07-15-2011 07:32 PM

Quote:

Originally Posted by Xtrato (Post 2220876)
This is what happens on jamiiforums.com as well ,any help is appreciated .

Thanks

The same on my forum.

moonclamp 07-17-2011 09:20 AM

Line breaks aren't working at all on our forum (4.1.4). They're fine using quickreply, but in new_reply they're not being parsed at all. (using Dolphin browser on an Android phone).

I also removed the smiley box - which helps a little.

Also noticed that the textarea in new_reply now spans double the width of the device (ie left to right scrolling)

This happens on editing posts too.

teach1st 07-17-2011 08:44 PM

I need more sleep. Edited, no problem! :)

hohleweg 07-18-2011 12:38 PM

Hello
I'm now at 4.1.4
27 errors in the style
there's an update soon?
Greetings Jo

dartho 07-18-2011 10:11 PM

I'll likely update after 4.1.5 is released.

However, the only issue I have had on my test site after updating to 4.1.4 is smileys showing up in a full reply which can be fixed following the instructions on the previous page.

hohleweg 07-19-2011 06:27 AM

Hello
Thanks for the info.
Then I wait for 4.1.5.
Greeting Joachim


All times are GMT. The time now is 08:23 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.02159 seconds
  • Memory Usage 1,855KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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