vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=195)
-   -   Mobile/Cell Phone Style (https://vborg.vbsupport.ru/showthread.php?t=151186)

nnjj.net 08-07-2007 09:16 AM

installed ;)

dartho 08-07-2007 01:22 PM

Quote:

Originally Posted by Mark Hewitt (Post 1311746)
Some thoughts after using it for a few days..

It's difficult to keep track of latest posts. When forums have new posts they have a green background, my suggestion is to extend this into the forumdisplay, when a thread has new posts, it has a green background.

Additionally, for the posts themselves, the header bar with the username, that should have a green background when it's a new post.

Also it doesn't seem to jump to the latest post the way it does on the full version. I don't know if that's a limitation of the skin or my phone.

PS You can find my forums at http://m.motorsportforum.com/

I can extend the highlighting of new threads when they have new posts, but this doesn't *appear* to extend to being able to do the same with new posts with in a thread.

I think I have the jumping to the latest post sorted now too - as of the next re4lease, it should jump to the newest post, currently it jumps to the page of the newest post.

Thanks for the feedback - when I release (which may not be real soon), you'll get an update notification :up:

tekguru 08-08-2007 07:05 AM

Sounding good - keep up the good work :)

Mark Hewitt 08-08-2007 09:36 AM

Quote:

Originally Posted by dartho (Post 1311872)
I can extend the highlighting of new threads when they have new posts, but this doesn't *appear* to extend to being able to do the same with new posts with in a thread.

I've had a quick look and they turned out both to be pretty straightforward with just an addition of a template conditional, so I've implemented it on my board.

Here is the code, feel free to use it in an upcoming release

Code:

POSTBIT:

<if condition="$post[statustitle] == 'Old'">
<div class="windowbg2">
<else />
<div class="new">
</if>

$post[username] $post[posttime] $post[postdate]
</div>
<div class="windowbg">$post[message]
<if condition="$post['editlink']"><a href="$post[editlink]">[Ed]</a></if>
<if condition="$post['replylink']"><a href="$post[replylink]">[Rep]</a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">[!!]</a> </if>

</div>

=========================

THEADBIT:

<if condition="$show['sticky']">
<div class="sticky">Sticky:
<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><strong>$thread[threadtitle]</strong></a>
<br />
by $thread[lastposter]: $thread[lastposttime] $thread[lastpostdate] </div>
<else />
<if condition="$show['gotonewpost']">
<div class="new">
<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><strong>>></a>
<else />
<div class="windowbg2">
</if>
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]">$thread[threadtitle]</strong></a>
<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">( $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
<if condition="$show['deletethread']">
 <a href="postings.php?$session[sessionurl]do=deletethread&t=$thread[threadid]">[X]</a></if>
</div>
<div class="windowbg">
$thread[lastposter]$thread[lastposttime] $thread[lastpostdate]
$thread[replycount]
</div>
</if>


Chadi 08-08-2007 08:00 PM

I just installed this and it appears to conflict with vbseo, or so it seems. Some forums show up as "page not found" yet they all work fine in the default vb theme for me. Can someone confirm this?

tekguru 08-08-2007 08:32 PM

No such problems here, working in conjunction well for me.

dartho 08-09-2007 02:02 PM

It does appear to work fine on other vbseo sites. You seem to have a bunch of other plugins - I'd suggest disabling installed products one ata time and see which one is getting in the way...

dartho 08-09-2007 09:27 PM

Quote:

Originally Posted by peterbabiy
I was just wondering when I go to a specific forum from your wap template that I installed, can I make the threads not in bold but only the ones that have new posts in them to be bold?

If so can u plz help me out. Im a real beginner so I'll need it real simple. If I need a code to paste somewhere can u show me which one and where to paste it?

Not real sure - I don't do any bolding myself, however you could use the code by Mark above to highlight new posts differently...

peterbabiy 08-22-2007 05:41 PM

I think this is the best wap theme I've ever seen. Its simple and easy to use. Love it and thank you so much. I do have a few suggestions thou. I think if you made the forums 2 or 3 spaces forward and kept the titles as they are it would seperate the title from the forums a lot. Here's what I mean

This is the title
--- This is the forum
--- This is another forum
This the title
--- This is another forum.

See what I mean? It would make the titles and the forums stand out a lot more which would make the whole browsing much easier.

And one more thing. As it was mentioned before about the new posts. If maybe you could keep the threads with no new posts regular font and the threads that do have new posts to be in bold. I think it would be the greatest thing ever.

Ow and ps. Is there a way to change the link color of the forums or threads? Cause when I'd try changing it in css it would not make any difference.

Thank you sir!

ShackMaster 08-22-2007 08:01 PM

Quote:

Originally Posted by peterbabiy (Post 1323350)
I think this is the best wap theme I've ever seen. Its simple and easy to use. Love it and thank you so much. I do have a few suggestions thou. I think if you made the forums 2 or 3 spaces forward and kept the titles as they are it would seperate the title from the forums a lot. Here's what I mean

This is the title
--- This is the forum
--- This is another forum
This the title
--- This is another forum.

See what I mean? It would make the titles and the forums stand out a lot more which would make the whole browsing much easier.

And one more thing. As it was mentioned before about the new posts. If maybe you could keep the threads with no new posts regular font and the threads that do have new posts to be in bold. I think it would be the greatest thing ever.

Ow and ps. Is there a way to change the link color of the forums or threads? Cause when I'd try changing it in css it would not make any difference.

Thank you sir!

Excellent idea... https://vborg.vbsupport.ru/external/2007/08/9.gif

dartho 08-24-2007 03:54 AM

Thanks for the feedback, I'll have a look at it in the next release. I did most this work whilst the wife was away, now that she is home again this stuff has taken a back seat...

I'll try and add more style tags in the CSS file to make it more customisable too...

peterbabiy 08-27-2007 05:13 PM

Much appreciated sir, if u could make those two things I mentioned I think alot of ppl would be real happy :D

Soonerdude 09-04-2007 06:44 PM

First, let me just say I love this theme. Our mobile users love it, except I've received a few complaints that they can't see any images that are inside posts. It's really not a big deal to me, but it seems to be annoying a few of my members since my last "mobile" theme allowed them to view posted images. Is there anything I can do to allow images to show up?

Thanks.

dartho 09-07-2007 06:37 AM

@Soonerdude - They should see links to any images posted, but if you want the actual images to appear inline again just go into the Style Options and remove the following 3 tags from the Replacement Variables section at the bottom pf the page:

border="0" alt="" />
class="inlineimg" />
img src

jfreels 09-07-2007 07:34 PM

Awesome, only thing is.....

When I'm using my laptop with FireFox, I get the mobile style :(

If I'm using IE, I get the default style for my forum.

SBlueman 09-08-2007 08:30 PM

The way I have my site setup I need the category links to work. What do I need to add to make them work?

http://gridironfans.com/forums/index.php?styleid=3

Also...can I disable posting new threads in a particular forum? There are some forums I have that require people to add post icons, topic tags and thread prefixes to their posts.

dartho 09-09-2007 10:12 AM

Quote:

Originally Posted by jfreels (Post 1334437)
Awesome, only thing is.....

When I'm using my laptop with FireFox, I get the mobile style :(

If I'm using IE, I get the default style for my forum.

Could you log on from your laptop with FF and IE at the same time and use IE to check what UserAgent string your FF session is giving (check in Who's Online? and select to vioew user agent strings)

What happens in FF if you log out? DO you revert to the normal skin or stay on the mobile skin?

Thanks

dartho 09-09-2007 10:26 AM

Quote:

Originally Posted by SBlueman (Post 1335010)
The way I have my site setup I need the category links to work. What do I need to add to make them work?

http://gridironfans.com/forums/index.php?styleid=3

Also...can I disable posting new threads in a particular forum? There are some forums I have that require people to add post icons, topic tags and thread prefixes to their posts.

try replacing the current forumhome_forumbit_level1_nopost template with the following: (No need to do this in version 2.0.7)
Code:

<div class="titlebg"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></div>
<if condition="$childforumbits">
$childforumbits
</if>

As for disabling the threads - have you done this in your standard skin?

jfreels 09-10-2007 11:28 AM

Quote:

Originally Posted by dartho (Post 1335335)
Could you log on from your laptop with FF and IE at the same time and use IE to check what UserAgent string your FF session is giving (check in Who's Online? and select to vioew user agent strings)

What happens in FF if you log out? DO you revert to the normal skin or stay on the mobile skin?

Thanks

Thank you for the reply. Here are my useragent strings....

FF: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

IE: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2)

Logging of and back on does nothing for me. No users have complained of it happening to them, or they are not savvy enough to figure out how to post with the mobile interface.

Thanks for any leads you can give me.

-jb

jfreels 09-10-2007 11:35 AM

Sorry, got it working. It was my bad. When I added the mobile style I changed around the display ID's. Well, the template I was using was set to a specific one and I guess when I changed the order, it screwed up the ID mine was using.

All good now. I should have figured it wasn't an issue with your plug-in.

SBlueman 09-10-2007 01:11 PM

Quote:

Originally Posted by dartho (Post 1335343)
try replacing the current forumhome_forumbit_level1_nopost template with the following: (No need to do this in version 2.0.7)
Code:

<div class="titlebg"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></div>
<if condition="$childforumbits">
$childforumbits
</if>

As for disabling the threads - have you done this in your standard skin?

It kinda worked....my site is setup funny. Look at the full size and mobile version:

Full Size
Mobile Skin

In the Mobile skin "Outside The Lines" is clickable on the index but the others aren't even though they are displayed.

dartho 09-11-2007 04:36 AM

Try applying the same change to the "forumhome_forumbit_level2_nopost" template (this has been done in the 2.07 version)

SBlueman 09-11-2007 05:34 AM

That did the trick, thank you!

Bojangles 09-15-2007 04:38 AM

Installed just fine for 3.6.8. Great mod! Definately useful for myself and a couple of other users who like to use their cell phones/blackberries to check our forums :).

dartho 09-17-2007 01:52 AM

New version uploaded - the only change from 2.07 is the removal of the "2.07 by TWF" link at the bottom of the FORUMHOME template. You are now free to remove this at no cost.

To those few that donated in order to remove this previously - let me know if you want a refund (it would be unfair that you paid for something which everyone now gets for free!)

Dekard 09-17-2007 12:40 PM

This is a great mod. I use it on my mobile phone and quite a few of my users do as well. Thanks a ton for making this available to us.

peterbabiy 09-17-2007 05:58 PM

Naaa u deserve the $$ :D

So in the new version, nothing about "new posts" was changed right? The whole thing I was talking about before, making threads with new posts with bold and everything else in normal?? :(

Thank you sir!

dartho 09-18-2007 12:06 AM

in 2.07 and subsequently 2.08 new posts are highlighted in the same manner that new threads are highlighted and forums which contain new threads/posts are also highlighted :up:

Rapscallion 09-19-2007 08:10 AM

Installed - waiting on feedback from my users. This is really appreciated :)

Only question - when I use this, I can't see a way to switch back for desktop use. I've advised users to create a second account for using this, but have I missed something?

Rapscallion

dbirosel 09-19-2007 09:28 PM

Quote:

Originally Posted by Rapscallion (Post 1342319)
Installed - waiting on feedback from my users. This is really appreciated :)

Only question - when I use this, I can't see a way to switch back for desktop use. I've advised users to create a second account for using this, but have I missed something?

Rapscallion

You need to use this mod too:

https://vborg.vbsupport.ru/showthrea...mobile&page=17

When someone goes mobile, it will automatically set that mobile style. But on a computer, they will see your actual style.

dartho 09-21-2007 12:35 AM

I was going to do a new release for this small modification, but thought I'd post up the change and release when there is more to add later.

Anyone who allows users to choose their own styles may want to replace the "modifyoptions" (In the "Modify User Options Templates" section ) template with the following code. This will add the ability for users to change their style via the UserCP, Modify Options section of the mobi skin. It's drop downs which may not work on some older phones, but people on older phones probably won;t want to change the style away from teh mobi one anyway. This will NOT change the users skin if you are using either the "Mobile Device Style Assignment" or the DDDS add-on as these override the users/forums styles.

Code:

<form action="profile.php?do=updateoptions" method="post">
<input type="hidden" name="s" value="$session[dbsessionhash]" />
<input type="hidden" name="do" value="updateoptions" />
<div class="titlebg">$vbphrase[edit_options]: $bbuserinfo[username]</div>
<div class="windowbg2">$vbphrase[login_privacy]</div>

<if condition="$show['invisibleoption']">                               
<div><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></div>
</if>

<if condition="$show['reputationoption']">
<div><label for="cb_showreputation"><input type="checkbox" name="options[showreputation]" value="1" id="cb_showreputation" $checked[showreputation] />$vbphrase[show_my_reputation_level]</label><input type="hidden" name="set_options[showreputation]" value="1" /></div>
</if>

<div><label for="cb_showvcard"><input type="checkbox" name="options[showvcard]" value="1" id="cb_showvcard" $checked[showvcard] />$vbphrase[allow_vcard_download]</label><input type="hidden" name="set_options[showvcard]" value="1" /></div>


<br />

<div class="windowbg2">$vbphrase[messaging_notification]</div>

<div><label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" $checked[adminemail] />$vbphrase[receive_email_from_bulletin_board_staff]</label><input type="hidden" name="set_options[adminemail]" value="1" /></div>

<if condition="$show['receiveemail']">
<div><label for="cb_showemail"><input type="checkbox" name="options[showemail]" value="1" id="cb_showemail" $checked[showemail] />$vbphrase[receive_email_from_other_members]</label><input type="hidden" name="set_options[showemail]" value="1" /></div>
</if>

<if condition="!$vboptions['enableemail']">
<input type="hidden" name="options[showemail]" value="$bbuserinfo[showemail]" />
</if>

<if condition="$show['pmoptions']">
<div><label for="cb_receivepm"><input type="checkbox" name="options[receivepm]" value="1" id="cb_receivepm" onclick="toggle_disabled(this.checked, 'pmoptions')" $checked[receivepm] />$vbphrase[enable_private_messaging]</label><input type="hidden" name="set_options[receivepm]" value="1" /></div>

<div><label for="cb_receivepmbuddies"><input type="checkbox" name="options[receivepmbuddies]" value="1" id="cb_receivepmbuddies" $checked[receivepmbuddies] />$vbphrase[pm_from_buddies_only]</label><input type="hidden" name="set_options[receivepmbuddies]" value="1" /></div>
<div><label for="cb_emailonpm"><input type="checkbox" name="options[emailonpm]" value="1" id="cb_emailonpm" $checked[emailonpm] />$vbphrase[receive_email_notification_pm]</label><input type="hidden" name="set_options[emailonpm]" value="1" /></div>
<div><label for="cb_pmpopup"><input type="checkbox" name="pmpopup" value="1" id="cb_pmpopup" $checked[pmpopup] />$vbphrase[show_pm_popup]</label></div>
<else />
<input type="hidden" name="options[receivepm]" value="$bbuserinfo[receivepm]" />
<input type="hidden" name="options[emailonpm]" value="$bbuserinfo[emailonpm]" />
<input type="hidden" name="pmpopup" value="$bbuserinfo[pmpopup]" />
</if>

<br />

<div class="windowbg2">$vbphrase[visible_post_elements]</div>
<div><label for="cb_showsignatures"><input type="checkbox" name="options[showsignatures]" value="1" id="cb_showsignatures" $checked[showsignatures] />$vbphrase[show_signatures]</label><input type="hidden" name="set_options[showsignatures]" value="1" /></div>
<div><label for="cb_showavatars"><input type="checkbox" name="options[showavatars]" value="1" id="cb_showavatars" $checked[showavatars] />$vbphrase[show_avatars]</label><input type="hidden" name="set_options[showavatars]" value="1" /></div>
<div><label for="cb_showimages"><input type="checkbox" name="options[showimages]" value="1" id="cb_showimages" $checked[showimages] />$vbphrase[show_images] ($vbphrase[including_attached_and_img_code])</label><input type="hidden" name="set_options[showimages]" value="1" /></div>

<br />

<div class="windowbg2">$vbphrase[thread_display_mode]:</div>
<span>
<input type="radio" name="threadedmode"  value="0" $threaddisplaymode[0]>$vbphrase[linear] - $vbphrase[oldest_first]<br />
<input type="radio" name="threadedmode"  value="3" $threaddisplaymode[3]>$vbphrase[linear] - $vbphrase[newest_first]<br />
<if condition="$vboptions['allowthreadedmode']">
<input type="radio" name="threadedmode"  value="1" $threaddisplaymode[1]>$vbphrase[threaded]<br />
<input type="radio" name="threadedmode"  value="2" $threaddisplaymode[2]>$vbphrase[hybrid]<br />
</if>
</span>
<br />
<if condition="$show['styleoption']">
<div class="windowbg2">$vbphrase[board_skin]</div>
<span>
<label for="sel_newstyleset">$vbphrase[board_skin]:</label>
        <select name="newstyleset" id="sel_newstyleset">
                $stylesetlist
        </select>
</span>                       
</if>       

<br />
<div>
<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" />
<input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" />
</div>
</form>


Smiry Kin's 09-21-2007 02:31 AM

what that code do just remove the option from the scroll down?

dartho 09-21-2007 09:07 AM

I'm sorry - I don't quite follow the question?

Smiry Kin's 09-21-2007 01:59 PM

what does the code you provided do..?

dartho 09-22-2007 01:08 AM

It simply adds the option to change styles from with-in the mobi style if you have it installed.

biglips31 10-05-2007 05:00 PM

Great Style, Thank you....

Some Suggestions..

1) Possible to have a search function?

2) is there a way to have each username on the posts link to their profile? in order to send a pm, it looks like we have to manually type in the username.

Thanks

dartho 10-12-2007 12:26 AM

I'll look at incorporating these into the next release - not much free time at the moment though, so could be a while...

brvheart 10-14-2007 12:43 AM

any chance to get it to be able to show attachments in threads?

wideawake 10-22-2007 02:19 AM

I second the above. Surely its a simple fix eh? Any thoughts?
Thanks,
Mike

dartho 10-22-2007 02:48 AM

I should be able to do something with attachments - after a very quick look it seems that it will take a bit of tweaking to get it displaying right.

Consider it also added to the list...


All times are GMT. The time now is 03:00 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.01555 seconds
  • Memory Usage 1,873KB
  • 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
  • (9)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