In an effort to better understand the PunBB CSS myself I have started working on some unofficial styling documentation. My original idea was to simply work through each line of the PunBB CSS and show exactly what changed with each line. The results of my efforts can be found here.

I worked from a fresh copy of PunBB 1.2.16 consistently using style/imports/Oxygen_cs.css, and provided both the original CSS, altered CSS, and a screenshot documenting the change in appearance.

As this was only for testing purposes some of the screenshots are low quality, but from this experiment I've realised the documentation has probably been approached from the wrong direction anyway. If, for example, somebody wanted to change the Main Menu Link Colours they wouldn't actually know beforehand which line in the CSS should be referenced. As a result they would have to jump between all of the threads I've created and check each screenshot - not the most practical use of time.

My new idea would be to setup a feature such as FotoNotes, a demo I've created can be found here (Hover over the Title and Description). By hovering over sections of the style a user can see exactly which line of PunBBs CSS would need to be edited. Multiple pages of FotoNotes would be needed, possibly broken down into Background Colours, Text Colours, Borders, etc.

Any feedback on how best to approach this documentation would be more than welcome smile Anyone who may be struggling to style PunBB should certainly chip in their own thoughts on how some documentation would make it easier for them.

If we can find a decent format for outlining documentation for styling PunBB 1.2 then it should be a breeze to knock out similiar documentation for PunBB 1.3 Final (whenever that may be due), that is of course if official documentation isn't provided (other than the /* css notes */ )

So... ideas welcome smile

The following mod only requires changes to the register.php file so it will be easy to maintain through 1.2 updates I'd expect smile

http://punbb.org/forums/viewtopic.php?id=16076&p=1

Since installing the above mod on one of my boards there's been no spam registrations in over a week (previously getting 5+ a day).

I'd also suggest asking new members to verify their registration through email (found under Admin > Options) though I never found this to prevent spammers.

To stop spammers you're going to have to make some code changes unfortunately, the above mod is the easiest to maintain imo. You can see a demo of the mod on my registration page here. Spam question edited to suit the site smile

78

(47 replies, posted in Programming)

Any word on this mod? Seems like plenty of people have tried implementing paypal stores etc but no-one has successfully managed it yet sad

I've been unsuccessfully trying to add "Post reply" from viewtopic.php to header.php. Can anyone point out what I'm doing wrong, or whether this is even possible smile

edit : original rambling message removed, problem fixed. see below >

viewforum.php | "Post new topic" link in header:
http://www.punbbskins.com/fixed_2.jpg

viewtopic.php | "Post reply" link in header:
http://www.punbbskins.com/fixed.jpg

I didn't find the cleanest method possible but can post up details if anyone would like the code smile

80

(6 replies, posted in PunBB 1.2 show off)

Excellent design, very nicely executed smile

81

(11 replies, posted in PunBB 1.2 show off)

I created the following skin for a friend, entitled "Frozen Age" due it being made to suit the Frozenage template by NodeThirtyThree.

http://www.punbbskins.com/screen.jpg

The skin can be downloaded here.

If you like the skin please consider dropping by punbbskins and saying hello big_smile Registered members can preview the skin in action by selecting the skin from their profile ~ or by visiting punres tongue

(So far both skins Ive released have ended up being blue - the next skin won't be i promise)

82

(10 replies, posted in PunBB 1.2 show off)

I visited your site the other day smile Some of your styles are really cool, a very nice site ~ unfortunately I don't speak french though otherwise I would sign up and join in

83

(11 replies, posted in PunBB 1.2 show off)

The blue links in 1.3 are much better suited to the skin than the red links found in the 1.2 version because of the whole "aquatic" theme. Originally the banner was red though so the red links suited it much better:

http://www.punbbskins.com/img/recycled_skins/recycled_evolution.jpg

It's pretty easy to change the colour of the links but will make both versions available shortly, for 1.2 and 1.3 smile

84

(11 replies, posted in PunBB 1.2 show off)

Made a good start on updating the skin for 1.3 since I couldn't get to sleep, though not too sure how useful the css will actually be as 1.3 progresses through Beta hmm

http://www.punbbskins.com/screenshot13.jpg

Only really worked on the homepage but finding it nice and easy to style so far smile

85

(11 replies, posted in PunBB 1.2 show off)

Garciat wrote:

The  skin looks great. However, you might want to make the column's titles (Topic, Posts, etc.) a little bit darker or just get rid of them and make the bottom box's text smaller.

Good job.

Thanks for the kind words smile Making the text darker threw out the balance of the page imo, and removing it meant that visitors wouldn't know what the numbers displayed in the columns represented hmm

If anyone uses the skin and wants to change the text colour open 'imports/Recycled_Aquatic_cs.css' and find Line 28:

thead{color:#cccccc}

Change to:

thead{color:#000000} /*Change 000000 to hex code of your choosing*/

On viewforum.php I removed the columns and column titles entirely which you can view here smile

86

(11 replies, posted in PunBB 1.2 show off)

StevenBullen wrote:

Whats wrong with punres?

Nothing at all, I've released the skin over at punres already smile Instead of only editing style.css and style_cs.css though I wanted to start making slightly more difficult (for me anyway) skins so will be editing the imports/base.css file (which can't be uploaded at punres, unless copied directly into the _cs.css file wink), viewtopic, viewforum etc.

The site is mainly my testing ground for new ideas but I figured I may as well make it into a site and post up what I find, instead of filling up punres with my useless junk lol.

87

(11 replies, posted in PunBB 1.2 show off)

http://www.punbbskins.com/punbbscreenshot.jpg

Punbb Skins

I'll be using the site to throw around some design ideas for Punbb 1.2 and 1.3 so I hope a few of you will join in if something takes your interest.

The skin I'm using is also available for download on my site and over at Punres, suggestions for improvement are welcome smile

The "Recycled" skin was intended for use on a client site but I just couldn't get it to look right. Throw in some fish and it becomes "Recycled_Aquatic" big_smile



to note : The goldfish image is used with the written permission of Template World, and the skin is partly based upon their free template that can be seen here. The skin is also based on Nosebleed for phpbb2 by Mike Lothar. Full credits available in skin source smile

Hi all,

I thought I had seen a mod over a Punres that allowed members to bookmark individual topics and listed them in their profile. All I can find when searching now though are Social Bookmarking mods and "Press Ctrl + D to add to favourites" style mods.

Would this mod be difficult to put together? I'd just like visitors to be able to have access to there favourite threads quickly and thought having the ability to save them in there profile would be the best option. Our posters use a lot of facts in there messages and sometimes trying to find something posted months ago by another member can be difficult smile

I'd be willing to pay for this mod if any of you would like to post some quotes. Punlancer is still down at the minute and I'd like this mod relatively soon so need to appeal to the larger community.

Can pay by PayPal, 50% upfront (providing you can prove you've made punbb mods before lol). If the mod author agrees I'll let him/her release it to the community for free once its up and running on my site.

Cheers,
Will
downliner05 [ at ] hotmail [ dot ] com

Thanks Matt I'll give this a go later this evening smile

Thanks for the reply Matt smile

We actually have three administraters on the board and I'm assuming that using this code would change all three of our post counts to the same static text. Is it possible to do it by member_id or some other way?

I don't think the other admins will be impressed if I hide there post count - there the ones who think it is a show of authority http://chopaway.com/evolution/img/smilies/14.gif

Is it possible to change the post count of a single member (the administrator) to display static text instead of that members current post count?

I've seen this feature on other board softwares but couldn't find anything over at punres hmm

In viewtopic.php whenever I post I want it to change "Posts: 1234" to "Posts: All day long" big_smile

Not a major mod I hope, just meant as a bit of fun on the forum to annoy everyone who think post count is a show of authority

Thanks

Ahmed wrote:

Wanted to ask:
I want to sent a letter, but I do not want to sent it to banned (or temporaly banned) users.

How can I send to everyone except few (whose emails I would take out from list)?

Change the registered email address of all your banned members to something fictional tongue That's what I've been doing.

Whenever I ban someone I change there email to banned_1@mydomain.com, banned_2@mydomain.com etc, I also change there password so they cant request a new one if the Ban Process ever fails me smile

93

(3 replies, posted in PunBB 1.2 troubleshooting)

I am running Connorhd's Backup mod on my relatively small forum and have started receiving the following error :

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 20185082 bytes) in /home/fhlinux168/c/domain.com/user/htdocs/forumroot/plugins/AP_Backup.php on line 98

I haven't changed anything in the file AP_Backup.php so wondering if anyone has any ideas?

Cheers smile

94

(7 replies, posted in PunBB 1.2 troubleshooting)

Yes, sorry I put an extra ']' in the code I gave you by mistake. As Yemgi already posted, the correct code is:

[url=http://www.google.com][img]http://www.punbb.org/img/small_logo.png[/img][/url]

95

(7 replies, posted in PunBB 1.2 troubleshooting)

To make your image a link try the following code:

[url=http://www.google.com][img]http://www.punbb.org/img/small_logo.png][/img][/url]

The above code produces the following:

http://www.punbb.org/img/small_logo.png (click it)

You can then apply the following small hack to allow external links to open in a new window:

http://wiki.punres.org/Open_links_in_a_new_window

Your the first to report this problem sad The Peels have been up on my site for the last fortnight and I haven't had any issues. I'll look into it and see what I can find.

If Im honest I didn't test it on Opera ~ I'll go and download it now and give it a test.

MattF wrote:

That does somewhat contradict your statement over on PunRes:

I specially had it designed or started on a long time ago.

Quakers statement is actually pretty accurate smile When I posted the original source code to the store it was a request for help, which Quaker answered. It was an active topic at the time, mainly because the code was so easy to integrate into PunBB designs, but it never got off the ground due to PayPal not functioning correctly.

The original source code meant users had to add products by editing an array file. When the topic at PunBB died Quaker continued to work on it, or outsourced the work to his friends etc, and actually made the store into a decent PunBB mod giving Admins the ability to easily add products without editing files.

I wasn't trying to be a dick when I said the source code wasn't his to sell. He's put a lot of time into making the mod and as I understand has re-written a majority of it and taken it further. I just didn't want Quaker getting into any legal trouble by selling the mod. The original source code wasn't posted up here to be turned into a mod ~ it was posted in the Programming section and Quaker just kinda picked it up and dropped it into PunBB lol.

Looking forward to testing the finished product out big_smile

Allows you to subtly advertise anything you want without interrupting the flow of your design smile

##        Mod title:  PunPeelAds (Ad Rotater)
##
##      Mod version:  1.0
##   Works on PunBB:  1.2.x
##     Release date:  2007-11-01
##           Author:  downliner (downliner05 [aT] hotmail {D0t} com)
##
##      Description:  Allows multiple adverts to be placed in the top right corner
##                    of your board. Adverts peel away your page. Demo available at:
##                    http://www.chopaway.com/rov2/    (see top right corner)
##
##   Affected files:  /include/template/main.tpl
##
##       Affects DB:  No
##
##            Notes:  None
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Demo - (see top right corner). Demo rotates three different ads so browse a few pages of the site as a guest and you can see seperate ads throughout site smile


Download

P.S - My first mod release so apologies if instructions are hard to follow. Post any questions and I'll help out smile

The store mod looks strikingly similiar to the code I posted over a year ago here at PunBB wink Although the code is free to use I suspect it would be illegal for you to charge for it.

The original source code came from dyn-web.com - you should look into it.

I'm looking forward to seeing the mod working with Pun smile Last time we spoke about it we had managed to integrate it into the Pun design easily enough and you had worked on an Admin Panel that allowed products to be added easily. You sent me the files over but  probably misplaced them by now.

Any update on how long you think the mod will take to finish, and how much you are planning to charge for it? Definately interested in playing with the mod even if I have nothing to sell lol

Just added a cool new feature to my board, to get more people signing up! wink

http://chopaway.com/rov2/index.php

Top right advert, probably killing any chance of validation but its getting more people using the site big_smile

I can post the code if requested