Announcement

Collapse
No announcement yet.

WAP / Pocket PC skin: Mobile Alabama

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dear all,

    Is it possible to implement Threaded Mode display in Postbit in this WAP style? I mean, with linear mode, it takes time to load because every posts will be displayed but with threaded mode, only the most recent one is displayed with a selection of which reply users want to see.

    I have sketched down my thoughts in my attachments below. Please have a look.

    Rgds
    Attached Files

    Comment


    • Originally posted by i-Symbian.Com
      Is it possible to implement Threaded Mode display in Postbit in this WAP style?
      That's a good idea, its more than likely possible. And sorry about taking so long to get the next update in - this week and next I don't have too much free time, two exams a day all week and my extra time is normally used for clients. hopefully you don't mind waiting a bit longer.

      Comment


      • Originally posted by AshAbed
        That's a good idea, its more than likely possible. And sorry about taking so long to get the next update in - this week and next I don't have too much free time, two exams a day all week and my extra time is normally used for clients. hopefully you don't mind waiting a bit longer.


        Ashabed,

        You have helped a lot. I can wait for you to get the stuff done because we are talking about some real quality stuff here.

        Whatever it is, you have your own priority and that should come first before anything else. Your exams are very important.

        I'll wait ...

        Cheers!!!

        Comment


        • I have successfully installed the following hacks in the Mobile vB Style:-

          1- 2nd navbar on the top of the page (just under the logo)
          2- 5 Latest Topics displayed in FORUMHOME
          3- Shoutbox :-)

          Please refer my attachments below to see them in action. For real experience of the Mobile vB Style customised for my website, please head to :

          http://www.i-symbian.com/forum/index.php?styleid=2

          Thanks and best rgds

          Attached Files

          Comment


          • Superb and thank you for this

            Members love it

            ( and one of my mobiles is too old I think "wrong mime-type" message ).
            Last edited by Winchester; Mon 7 Feb '05, 11:19am.

            Comment


            • "They can view all other sites mentioned in this thread though "
              That means it can't be a problem with the style. Might be a problem with your permission's settings... I can't say though.

              And I was just popping in to say it looks like I won't have too much time to help out until this Saturday.

              Comment


              • Originally posted by AshAbed

                And I was just popping in to say it looks like I won't have too much time to help out until this Saturday.
                AshAbed,

                Glad to see you here!

                Will be awaiting your return!!!

                Cheers!

                Comment


                • Looks like its Saturday, as promised I'm back. Reply with any requests you would like filled and I'll see what I can do.

                  Comment


                  • Ashabed,

                    Welcome back mate...

                    Here are the stuff that I think you can help us to achieve :-

                    1- Thread mode in postbit

                    Please check this website : http://www.allaboutsymbian.com/forum/?styleid=10

                    It uses a very cool mobile style. I think many things can be implemented from that style. To view the mobile style, you need to have a username and password. Please check your PM ;-)

                    Rgds

                    Comment


                    • Make Threaded Mode Possible
                      Click Edit templates
                      Expand the template group 'Show Thread Templates'
                      Step 1
                      Edit the 'SHOWTHREAD' template
                      Replace ALL of the current code with:
                      PHP Code:
                      $stylevar[htmldoctype]
                      <
                      html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
                      <
                      head>
                          <
                      title>$thread[title]</title>
                      $headinclude

                      </head>
                      <
                      body onload="$onload">
                      $header
                      $navbar

                      $poll

                      <a name="poststop" id="poststop"></a>

                      <!-- 
                      controls above postbits -->
                      <
                      table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
                      <
                      tr valign="bottom">
                          <if 
                      condition="$show['largereplybutton']">
                              <
                      td<if condition="$show['pagenav']"width="33%"</if> class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']">Post Reply<else />Topic Closed</if></a></td>
                          <else />
                              <
                      td class="smallfont">&nbsp;</td>
                          </if>
                      <!-- 
                      thread display mode menu -->
                              <
                      td<if condition="$show['pagenav']"width="34%"</if> align="<if condition="$show['pagenav']">center<else />right</if>" class="smallfont">
                          <if 
                      condition="$show['linearmode']">$vbphrase[linear_mode] |
                          <else /><
                      a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a> |
                          </if>
                          <if 
                      condition="$show['threadedmode']">
                      &
                      nbsp;$vbphrase[threaded_mode]
                          <else />
                      &
                      nbsp;<a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a>
                          </if>
                      </
                      td>
                      <!-- / 
                      thread display mode menu -->
                          <if 
                      condition="$show['pagenav']"><td align="right" width="33%">$pagenav</td></if>
                      </
                      tr>
                      </
                      table>
                      <!-- / 
                      controls above postbits -->

                      <!-- 
                      end content table -->
                      $spacer_close
                      <!-- / end content table -->
                      <if 
                      condition="$show['threadedmode']">
                      <!-- 
                      thread posts list -->
                      $threadlist
                      <!-- /thread posts list -->
                      </if>
                      <
                      div id="posts">$postbits</div>

                      <!-- 
                      start content table -->
                      $spacer_open
                      <!-- / start content table -->

                      <!-- 
                      controls below postbits -->
                      <
                      table cellpadding="0" cellspacing="0" border="0" width="100%">
                      <
                      tr valign="top">
                          <if 
                      condition="$show['largereplybutton']">
                              <
                      td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID"><if condition="$show['closethread']">Post Reply<else />Topic Closed</if></a></td>
                          <else />
                              <
                      td class="smallfont">&nbsp;</td>
                          </if>    
                          <if 
                      condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
                      </
                      tr>
                      </
                      table>
                      <!-- / 
                      controls below postbits -->

                      <
                      br />

                      <
                      div class="smallfont" align="center">
                          <
                      strong>&laquo;</strong>
                              <
                      a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest">$vbphrase[prev_thread]</a>
                              |
                              <
                      a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest">$vbphrase[next_thread]</a>
                          <
                      strong>&raquo;</strong>
                      </
                      div>

                      $footer
                      </body>
                      </
                      html
                      Step 2
                      Edit the 'showthread_list' template
                      Replace ALL of the current code with:
                      PHP Code:
                      <script type="text/javascript">
                      <!--
                      var 
                      imgdir_statusicon "$stylevar[imgdir_statusicon]";
                      var 
                      imgdir_misc "$stylevar[imgdir_misc]";
                      var 
                      cleargifurl "$vboptions[cleargifurl]";
                      var 
                      guestphrase "$vbphrase[guest]";
                      var 
                      morephrase "$vbphrase[more_replies_below]";
                      var 
                      highlightwords "$highlightwords";
                      //-->
                      </script>
                      <
                      script type="text/javascript" src="clientscript/vbulletin_thrdpostlist.js"></script>
                      <
                      script type="text/javascript">
                      <!--
                      // initialize some variables
                      var curpostid $curpostid;
                      var 
                      quickreply = <if condition="$SHOWQUICKREPLY">true<else />false</if>;

                      // cached posts (no page reload required to view)
                      $jspostbits
                      // next/previous post info
                      $navjs
                      // cached usernames
                      pu[0] = guestphrase;
                      $userjs
                      // -->
                      </script>
                      <
                      style type="text/css">
                      <!--
                          
                      #links div { white-space: nowrap; }
                          #links img { vertical-align: middle; }
                          #links .x { behavior: url(clientscript/branchcollapse.htc); }
                          #links a.ieB { behavior: url(clientscript/postlink.htc); }
                      -->
                      </
                      style>

                      <
                      div style="background-color:#ffffff;padding:1px;border: 1px solid #c0c0c0;margin-top:8px;margin-bottom:8px;">
                      <
                      table cellpadding="1" cellspacing="0" border="0" width="100%" align="center">
                      <
                      tr>
                          <
                      td class="alt2">
                              <
                      div class="smallfont" style="text-align:$stylevar[center];">
                              <!-- 
                      start post links -->
                      <
                      script type="text/javascript">
                      <!--
                      $links
                      //-->
                      </script>
                              <!-- 
                      end post links -->
                              </
                      div>
                          </
                      td>
                      </
                      tr>
                      <if 
                      condition="$threadedmode==1">
                      <
                      tr>
                          <
                      td class="alt2" align="center"><div class="smallfont">
                              <
                      a href="javascript:showPrevNextPost(0)">$vbphrase[prev]</a>
                              &
                      nbsp;|&nbsp;
                              <
                      a href="javascript:showPrevNextPost(1)">$vbphrase[next]</a>
                          </
                      div></td>
                      </
                      tr>
                      </if>
                      </
                      table>
                      </
                      div

                      Edit: Changed a few things around, it looks alot better this way - if you implemented this modification before I put this message please switch the code to the new one.
                      Last edited by AshAbed; Sun 13 Feb '05, 6:04am.

                      Comment


                      • AshAbed,

                        Awesome work !!!

                        However, I realised there are some core things that need to be added :-

                        1- The ability to Edit post from this mobile style. At the moment, there is no way to Edit posts with this

                        2- Is it possible to put the lists of posts in threaded mode below the latest post? At the moment, the lists are displayed at the top. If it is displayed at the bottom, I think it would be better because we dont have to scroll down to read the latest post.

                        That's all for now :-)

                        Cheers!!!

                        Rgds

                        Comment


                        • Originally posted by i-Symbian.Com
                          1- The ability to Edit post from this mobile style. At the moment, there is no way to Edit posts with this

                          2- Is it possible to put the lists of posts in threaded mode below the latest post? At the moment, the lists are displayed at the top. If it is displayed at the bottom, I think it would be better because we dont have to scroll down to read the latest post.
                          1- Sure, that shouldn't be hard.

                          2- I'm not sure exactly what you mean, could you provide a screenshot of what you'd like me to do?

                          Comment


                          • Originally posted by AshAbed
                            1- Sure, that shouldn't be hard.

                            2- I'm not sure exactly what you mean, could you provide a screenshot of what you'd like me to do?
                            Thanks. Please refer to my attachments.

                            ThreadedMode1 is the current threaded mode where the latest post is displayed at the bottom of the page. This needs scrolling especially if the topic contains many posts.

                            ThreadedModebottom is my suggestion. In here, the latest post is located on top of the list. Making it easy to see the latest post and read it because no scrolling is needed :-)

                            Another thing, I noticed the Quick Reply function is missing, can you please add that?

                            Cheers!!!
                            Attached Files

                            Comment


                            • Originally posted by Pugzly
                              I'll do a screen shot if I need to, but this ends up showing a bunch of the space.gifs above all the content. I end up having to scroll down to see things. This link should work.
                              I fixed it!!! I can add my first vB mod

                              Open: Thread Bit Templates> Threadbit

                              Replace with:

                              <tr>
                              <td><img src="spacer.gif">
                              <div style="padding-left: 5px;">
                              <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]">*</a></if> <a href="showthread.php?t=$thread[threadid]"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a> - <span class="smallfont">$thread[replycount] - last post <phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase></span>
                              </div>
                              </td>
                              </tr>
                              Looking much better now

                              By the way this is referencing The post om page 4 with the updated template.


                              *****crap, I didn't see where you fixed that, oh well, this shows how you can leave the bar in to do it's original job...also changed the 'v' to a '*'
                              Last edited by mclark2112; Tue 15 Feb '05, 10:52am.

                              Comment


                              • Any way to change the size of the quick reply box and the post editor?

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X