[BETA] phpbb pin-board

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
maxrpg
Registered User
Posts: 67
Joined: Thu Jul 30, 2009 12:33 am

[BETA] phpbb pin-board

Post by maxrpg » Fri Feb 22, 2013 2:34 pm

Modification Name: phpBB pin-board
Author: Author maxrpg

Modification Description:: Add a pinterest style pin board to your forum so members can "pin" image and/or messages.

Modification Version:: 1.0.0

Requirements: Nothing special that I know of.

Features:
  • Pin image to wall
    Pin messages to wall
    Pin both an image and a message to the wall
    Only original poster and admins/moderators can delete pins
    Uses Ajax/Jquery so no page reloads
Screenshots:
http://i50.tinypic.com/331mvwi.jpg

Modification Download:
http://sdrv.ms/Yr9orW

Peter77sx
Registered User
Posts: 3257
Joined: Wed Nov 09, 2005 2:51 pm

Re: [BETA] phpbb pin-board

Post by Peter77sx » Fri Feb 22, 2013 3:42 pm

That is awesome :) can it be possible to add some type of limit to number of postings like 6 per every 5 min, for example?

Seems to be limted to about 45 pins per user?
Last edited by Peter77sx on Fri Feb 22, 2013 3:54 pm, edited 1 time in total.

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] phpbb pin-board

Post by Jessica » Fri Feb 22, 2013 3:53 pm

Neat mod!
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

maxrpg
Registered User
Posts: 67
Joined: Thu Jul 30, 2009 12:33 am

Re: [BETA] phpbb pin-board

Post by maxrpg » Fri Feb 22, 2013 4:11 pm

In the /pinboard/pinfunctions.php file there is a limit variable:

$pin_limit = 45;

Change that to a number representing the number of pins a user can post in a 24-hour period. Example if it was 10 then each member would only be able to post 10 pins per day, you can post unlimited pins but that number simply determines how many you can post in a single day.

Peter77sx
Registered User
Posts: 3257
Joined: Wed Nov 09, 2005 2:51 pm

Re: [BETA] phpbb pin-board

Post by Peter77sx » Wed Feb 27, 2013 1:36 am

Awesome that works just fine, thank you. be nice to see recent pins made somehow some way on another phpbb page :)

thanks again for sharing

leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [BETA] phpbb pin-board

Post by leschek » Wed Feb 27, 2013 1:23 pm

Interesting, but it seems, that language entries are hardcoded.

User avatar
balboag
Registered User
Posts: 76
Joined: Wed Jul 13, 2011 3:52 pm
Location: Galicia, Spain
Name: Gerardo

Re: [BETA] phpbb pin-board

Post by balboag » Thu Feb 28, 2013 12:10 am

nice mod


User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [BETA] phpbb pin-board

Post by Jessica » Tue Mar 05, 2013 7:08 am

Is it possible for me to edit the dating format and change it from __ weeks ago or __ days ago to the date (like March 1, 2013 5:00 pm) or something
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

maxrpg
Registered User
Posts: 67
Joined: Thu Jul 30, 2009 12:33 am

Re: [BETA] phpbb pin-board

Post by maxrpg » Tue Mar 05, 2013 9:08 am

If you open "pinboard.php"

Find:

Code: Select all

relativeTime(strtotime($pins_row['timedate']))
Replace with:

Code: Select all

$user->format_date(strtotime($pins_row['timedate']))
It will display the date like:
Tue Mar 05, 2013 9:05 am

doenwenu
Registered User
Posts: 55
Joined: Sat Jul 27, 2013 6:16 am

Re: [BETA] phpbb pin-board

Post by doenwenu » Sat Jul 27, 2013 6:19 am

Hey people,

I know this mod is stil in beta, but i have something strange.
When i look in my errorconsole with chrome, i see this
Image
how can i fix this errors? can somebody help me?
Live page is here http://www.doenwenu.nl/forum/pinboard.php

maxrpg
Registered User
Posts: 67
Joined: Thu Jul 30, 2009 12:33 am

Re: [BETA] phpbb pin-board

Post by maxrpg » Tue Jul 30, 2013 12:54 am

I can't see any errors on the source so I have no idea why it shows them :?

doenwenu
Registered User
Posts: 55
Joined: Sat Jul 27, 2013 6:16 am

Re: [BETA] phpbb pin-board

Post by doenwenu » Tue Jul 30, 2013 9:19 am

maxrpg wrote:I can't see any errors on the source so I have no idea why it shows them :?
Ok, on another site i see this mod also without errors, so it must be related to another mod

User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

Re: [BETA] phpbb pin-board

Post by mladiucitelj » Thu Aug 01, 2013 9:18 pm

Nice! Subscribed...
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System

User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

Re: [BETA] phpbb pin-board

Post by mladiucitelj » Fri Aug 02, 2013 2:21 pm

Is this normal behaviour that when I post a FIRST pin I have to refresh the page to see it? When posting a second one it shows right away and it's ok.

Do you plan any new features for this mod?

EDIT1: pins from others are not showing right in Chrome (username and time is outside the pin!)

EDIT2: if admin delete others pin and refresh page, the pin shows up again!
Last edited by mladiucitelj on Fri Aug 02, 2013 2:51 pm, edited 2 times in total.
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System

Locked

Return to “[3.0.x] MODs in Development”

cron