View Single Post
  #34  
Old 08-22-2003, 02:47 PM
mccollin mccollin is offline
 
Join Date: Jul 2003
Location: North Carolina, USA
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not ready to post a link to it yet, but I have had success in doing a PDA version. This was way easier than with phpBB. I intially got the French template from pdatoon, but all the templates in that template set are French, and I didn't want to translate all of them, especially since you don't need to convert every template to PDA format. Many of them handle it already, and many of them can be left full screen for the few times you'll need it. So, in the end I just modified them myself, it it only took a few nights to get the majority of the highly used ones.

I grabbed a copy of my existing template which has a lot of additions already. Then I went to the index page, grabbed the template for it.. cut out all I didn't want, and modified the remainder. With each page, there are several templates involved, so you'll refresh the page and find that you missed something, open that template and repeat the cycle. Then I did the forums, then search, the replies/new threads, then all my vbIndex pages. I is pretty straightforward. You can always go back to the original if it breaks during your edit. But... beware... you need to go back to the original that you started with for your site. I was pulling my hair out becuase I reverted to the original, but that backed out a hack that was in my default template... so I just had to copy the default back in for that one and restart the hack for that template.

For the big templates, I found it much faster to copy the code into an HTML editor that would color code the tags, then edit, then copy it back. This also gives you some undo abilty without total backout. I probably did about 30-40 template... about 5-10 minutes per template. I still need to do the messaging template, and I'll probably stop at that.

I recommend that anyone doing this do their own, because otherwise you'll be dealing with hack mismatches, and you may hve different desires for what you want to cut out our leave in.

By the way, you just need to through in ?styleid=x to get to it, then reverse to get back to full screen. When this is production ready I'll have a link on each version's navigation menu to get back and forth.

I am loving vBulletin more every day.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02021 seconds
  • Memory Usage 1,762KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete