Page 2 of 3

Re: phpBB Code Repository

Posted: Sun Sep 06, 2009 1:45 am
by Mudjosh
yes it would actually. Sorry for the long wait for my response. I have been offline for quite a while.

I was also wondering how big of a security risk would it be for users to upload their own codes for the admin (or moderators other than the user uploading the code) to approve.

Right now, I have to access my ftp each time I want to add a new code. Is this how it is supposed to work? Lots of effort esp for a site that encourages new coding everyday. :?

Re: phpBB Code Repository

Posted: Sun Sep 06, 2009 1:51 am
by Desdenova
I wouldn't do that..

Instead, if you're looking for something like that, I would say get a Github repository instead.

Re: phpBB Code Repository

Posted: Mon Sep 07, 2009 5:08 pm
by Mudjosh
wow looks nice! I never really checked out an official code repository lol.

But what I am needing is something sort of in between. I check github and it seem that you get integrate it with phpbb3 but it would take some programming know how (Which I am short of)

But I think my situation is unique sadly. But here is what I got:
I am building a forum to compete an "official" forum that has killed the topic is was on. The member base is around the ages 13-17 but can go as high as 25-30.. But mostly school age kids.

The topic is those old falling sand games that had a craze a while back online. There are some downloadable and reprogramable versions (so you can add your own elements and interactions).

Basically, the original forum used a wiki for its code repository which worked ok because each member was able to add images and manuals for each of their mods.

But to me it is like using a rake to dig holes. It is possible (hard but still possible), but it isn't the best/right tool for the job.

So I'm just looking for simple code repository so that members can link to in topics instead of posting their whole code into a topic.

Do you know of what I could use for this situation?

You'll probably advise just stay with mediawiki which would be ok. I was just looking for alternatives.

Re: phpBB Code Repository

Posted: Mon Sep 07, 2009 5:19 pm
by Desdenova
Actually, you could use a pastebin for the code, however they would not be able to edit the code later...

Personally, I would say having a public git repository would be useful, however it would require your members to install a git client (which is a PITA in some circumstances).

I would say your best option is a pastebin, you would have to edit it though so that the author is stored and has the ability to edit the code posted later on.

Re: phpBB Code Repository

Posted: Tue Sep 08, 2009 1:45 am
by Mudjosh
ok I'll look into it. I know some html and css but I do not know any javascript, or php.. So sadly I won't be able to mod it. I REALLY need to learn (javascript/php) but it just seems hard.. lol.

All well. From the description of a Paste Bin (Never looked into it) it sounds as if users are not shown on the code they submit, so if I keep the users anonymous there would really be no need of a phpbb bridge between the two.

As far as it being editable, it would be useful if it was, but I guess a new script could be uploaded.. That way they can have a list of the past versions available if they so choose.

So, perfect!

---

Found the one used at pastebin.com without a problem and best of all it is open source.. Perfect for my needs! (Or at least GPL) (For others who need it, http://blog.dixo.net/2006/05/07/pastebi ... ry-control )
---


BTW, what is the security risk of doing this very thing with your mod?

Re: phpBB Code Repository

Posted: Tue Sep 08, 2009 2:39 am
by Desdenova
If you opened your server up to uploads of files (with filenames intact) to total strangers, bad things would happen. I would recommend that you only use it for things you make, or for people that you would trust giving FTP access to.

Re: phpBB Code Repository

Posted: Wed Sep 23, 2009 1:03 am
by BeanBug
I too am not able to click SUBMIT in the ACP using IE 7.

One other thing, it's been a while since I've setup phpBB...version 2 something about 5 years ago...

What's the best way to provide a link to the code.php Code Repository? I tried adding a forum of type "Link" but it logs me out...

thx

Re: phpBB Code Repository

Posted: Wed Sep 23, 2009 5:32 am
by Desdenova
Your cookie settings are probably incorrect.
http://www.phpbb.com/kb/article/fixing- ... -settings/

Re: phpBB Code Repository

Posted: Wed Sep 23, 2009 1:24 pm
by tbxn
Are there any plans to develop this further? I remember seeing a v2 of this but I guess it was abandoned? I would love to see this developed further. A project system with management and diffs would be awesome.

Re: phpBB Code Repository

Posted: Wed Sep 23, 2009 2:21 pm
by Desdenova
At the moment, v2 has been abandoned, yes it is true.
However, a continuation of the series, a rewrite that is going by "Xerxes 3.0" is currently in the works, and being developed for private use on phpBBModders.net only.
There are no plans to release it as of yet since it is being developed for private use, however it may happen some time down the road if the phpBBModders development team feels generous.

If anyone wants to try continuing development of the 2.0 line themselves, feel free to -- however, the product should not use the name "Xerxes" as I will be using that for the 3.0 line.
The SVN for the unfinished code that was to be 2.0 is here:

Code: Select all

http://subversion.assembla.com/svn/phpbb_crs_xerxes/trunk
As for diffs, there was nothing like that planned in Xerxes -- for that, you would have to get a Git or Subversion repository.

Re: phpBB Code Repository

Posted: Wed Sep 23, 2009 3:46 pm
by BeanBug
Thanks, that cookie setting worked.

Is there a way to list subdirectories of the root?...for me it's only showing files in the root...

Re: phpBB Code Repository

Posted: Wed Sep 23, 2009 3:50 pm
by BeanBug
nm, I ran the rebuild cache function and subdirectories appear now.

Re: phpBB Code Repository

Posted: Thu Sep 24, 2009 1:39 am
by Desdenova
Remember that it will cache the list of files and directories. If you start making massive changes to the files in the directory, I recommend running the rebuild cache function once you are done to clear everything out and start fresh, with accurate data.

Re: phpBB Code Repository

Posted: Thu Nov 26, 2009 6:51 pm
by ..::House::..
Any release for 3.0.6? 8-)

Re: phpBB Code Repository

Posted: Thu Nov 26, 2009 8:05 pm
by Desdenova
Doesn't appear that it would be necessary. Just don't use it with the null acm plugin -- you'll open yourself to server load issues if you do.