Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by CoffeeMugDude CoffeeMugDude is offline
Developer Last Online: Nov 2001 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-28-2001 Last Update: Never Installs: 5
 
No support by the author.

I have an old Palm Pilot Professional; it's like the original beetle. It doesn't surf the 'net, or do the cool stuff the latest palms do, but I can keep my address book on it, and read PalmDoc files.

I came up with this script about 6 months ago when one of my subscribers, a "palm fanatic" requested a means to get stories from my site in PalmDoc format. (The most common means of reading documents on a palm)

The palmlib script for converting text to PalmDoc is not my own (I don't even understand it!), I just "tweaked" the original VB printthread.php to return a string instead of printing it out to the browser, then pass it through the "Palm Converter"

No PHP changes are required, just 3 template changes...

Included are 2 images:

- palmpilot.gif (The VB 2.0.1 default graphic theme)
- palmpilot_transparent.gif (A transparent .gif with a palm icon, to use on your own graphics)

See a working demo at http://www.coffeeintherain.com/forums, or see the attached screenshot.

(Download .zip: http://www.coffeeintherain.com/scripts/palm_hack.zip)

Enjoy!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-02-2001, 03:49 PM
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Location: Amsterdam
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello CoffeeMugdude,

Just wanted to tell you that I really love this hack! I'm the chairman of the Dutch Palm User Group (http://www.palmclub.nl and http://www.pdaclub.nl/forums - different server to spread bandwidth) and this hack comes in really handy when users want to preserve tips, nice utils or whatever comes around in our threads.
Very nice documentation and overall a winner!

Kind regards,
Jean-Paul Horn
Reply With Quote
  #13  
Old 01-26-2002, 06:58 PM
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Location: Amsterdam
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As the Coffee In The Rain site is down, and you could only download the attachment at the site itself, I hereby resubmit it to the community.

This is not my hack!

I'm just a happy user of this hack and I think it could be usefull to others, so here you go.
Reply With Quote
  #14  
Old 02-06-2002, 05:04 AM
slideboxer's Avatar
slideboxer slideboxer is offline
 
Join Date: Dec 2001
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, there's a typo in the install instructions that caused me some probs

for palmthread.php the instructions say
PHP Code:
eval("\$palmbits .= \"".gettemplate("palmthreadbit")."\";"); 
change palmthreadbit to palmthread_bit to match the template change given earlier in the instructions.

Things work great now, though. My users love it.
Reply With Quote
  #15  
Old 06-28-2002, 12:50 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this hack and it's a FANTASTIC one at that! It is the perfect hack for my new board.

Thanks DJR for posting the hack here since coffeeintherain is down.

The only thing that I've noticed is that it doesn't work with the Opera browser. I've noticed that with other attachement style links, so I don't think it's a problem with the hack per se, just more with how Opera handles certain links. It works just fine in other browsers.
Reply With Quote
  #16  
Old 06-29-2002, 03:51 PM
dogbomb's Avatar
dogbomb dogbomb is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:bump: this hack is no longer there. it seems the site it was hosted at has shut down
Reply With Quote
  #17  
Old 06-29-2002, 05:00 PM
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Location: Amsterdam
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmmm... wake up and smell the coffee :-)

https://vborg.vbsupport.ru/showthrea...151#post216151

- djr
Reply With Quote
  #18  
Old 07-04-2002, 01:16 PM
Jared Press Jared Press is offline
 
Join Date: Jul 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried setting this up but it came back with a safe made restriction error. Is there a way around this problem?
Reply With Quote
  #19  
Old 07-04-2002, 01:37 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Turn of safe mode in your vBulletin options...

Nice hack

Satan
Reply With Quote
  #20  
Old 07-04-2002, 02:04 PM
Jared Press Jared Press is offline
 
Join Date: Jul 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried that but my server is runing in safe mode so I guess it will have no effect?
Reply With Quote
  #21  
Old 07-05-2002, 06:11 PM
djr's Avatar
djr djr is offline
 
Join Date: Nov 2001
Location: Amsterdam
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Jared: Leave 'Safe mode ON' in vB and then change this line in palmlib.php:

Code:
$tempfile = tempnam("palm", "palm");
into this:
Code:
$tempfile = tempnam("images/tmp", "palm");
By hardcoding the path the hack should work. It's working at our board and we're also running vB in safe mode.

Remember: the tmp directory should be world-writable, e.g. chmod to 777!!!

Good luck,
- djr
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:31 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05699 seconds
  • Memory Usage 2,309KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete