Hi all,

i need a Module which can do the following:

It should basicly work like a pastebin (example: http://pastebin.com).

The difference should be:
- Only 10/20/30 pastes / day at all for not registered users
- Unlimited pastes for registered users
- Readable / Viewable for all Users / Guests
- some preg_replace() should be integrated (details on request)
- Block with latest 10/20
- optional: in user profile, all pastes made
- cleaning for all non registered pastes by action
- maybe some other stuff YOU find useful

please mail your offer to: pencil-pusher@web.de

thx
alex

Comments

redbear’s picture

what i forgot.... pastes should be reachable like http://domain.com/paste/23232123 better http://domain.com/1313123 if possible. :)
and comments for each paste

wim leers’s picture

Syntax highlighting should be included as well? If so, it won't be an easy module. Except for PHP syntax highlighting of course.

redbear’s picture

no sorry, no syntax highlighting.

just some replacements. for example ***texthere*** == Only local images are allowed.. so simple preg_match()

i can do the last things like preg_match() alone, i just cant get the base of the module.

best example: http://handpaste.com

paste this:
---------
PokerStars Game #5324670618: Hold'em No Limit ($0.50/$1.00) - 2006/06/21 - 21:03:59 (ET)
Table 'Hammonia' 6-max Seat #6 is the button
Seat 1: Barrin6 ($104.10 in chips)
Seat 2: Bwd26 ($149.90 in chips)
Seat 3: sairbair100 ($108.10 in chips)
Seat 4: Tensho ($114.85 in chips)
Seat 5: Firenharleys ($70.35 in chips)
Seat 6: squeek2004 ($93.75 in chips)
Barrin6: posts small blind $0.50
Bwd26: posts big blind $1
*** HOLE CARDS ***
Dealt to Bwd26 [5s 7d]
sairbair100: calls $1
Tensho: raises $2 to $3
Firenharleys: folds
squeek2004: folds
Barrin6: calls $2.50
Bwd26: folds
sairbair100: calls $2
*** FLOP *** [6d 3h 4d]
Barrin6: bets $6
sairbair100: raises $6 to $12
Tensho: raises $18 to $30
Barrin6: calls $24
sairbair100: calls $18
*** TURN *** [6d 3h 4d] [Ac]
Barrin6: checks
sairbair100: checks
Tensho: bets $81.85 and is all-in
Barrin6: folds
sairbair100: calls $75.10 and is all-in
*** RIVER *** [6d 3h 4d Ac] [3s]
*** SHOW DOWN ***
sairbair100: shows [3c 3d] (four of a kind, Threes)
Tensho: mucks hand
sairbair100 collected $247.20 from pot
*** SUMMARY ***
Total pot $250.20 | Rake $3
Board [6d 3h 4d Ac 3s]
Seat 1: Barrin6 (small blind) folded on the Turn
Seat 2: Bwd26 (big blind) folded before Flop
Seat 3: sairbair100 showed [3c 3d] and won ($247.20) with four of a kind, Threes
Seat 4: Tensho mucked [6c 6s]
Seat 5: Firenharleys folded before Flop (didn't bet)
Seat 6: squeek2004 (button) folded before Flop (didn't bet)
--------------------------

Output: http://handpaste.com/823255

thats exactly what i want, but with the user / registered user features.

abustardo’s picture

I have a php paste app that i wrote, has syntax highlighting and random string for url. I am currently porting to Drupal. I will see about contributing it when I am done. Should be less than a week.

Prodigyx’s picture

I need this module too.

help me pls =)