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)

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 02:24 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.01542 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)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
  • (10)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