It's in profile.php
7,076 2005-05-17 01:15
Re: You did not select a file to upload. (12 replies, posted in PunBB 1.2 troubleshooting)
7,077 2005-05-17 00:51
Re: Limit caracter for new registration ??? (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well, if he wants anyone with a little knowledge to be able to bypass it...
The way to fix it, along with the above change, is this (also in register.php)
FIND
else if (pun_strlen($username) > 25) // This usually doesn't happen since the form element only accepts 25 characters
message($lang_common['Bad request']);
REPLACE WITH
else if (pun_strlen($username) > 12) // This usually doesn't happen since the form element only accepts 25 characters
message($lang_common['Bad request']);
7,078 2005-05-15 21:24
Re: You did not select a file to upload. (12 replies, posted in PunBB 1.2 troubleshooting)
That would work too
7,079 2005-05-15 15:02
Re: spinkbb skin generator (9 replies, posted in PunBB 1.2 troubleshooting)
I thought that might have been the issue
you can't add styles i have to add them, and i still need to write the system for me adding them, i should have some time soon so you can install any style you want from the admin panel
In other words, unless he finished the style uploading plugin he was working on, you can't upload styles yet
7,080 2005-05-15 14:15
Re: You did not select a file to upload. (12 replies, posted in PunBB 1.2 troubleshooting)
Currently, if it is disabled, the check fails here:
if (!isset($_FILES['req_file']))
message($lang_profile['No file']);
IMO the best way to solve this would be a new language file entry (which probably isn't happening)
7,081 2005-05-15 13:57
Re: Last Subject headers in Index (7 replies, posted in Feature requests)
It is an easy mod
7,082 2005-05-15 10:26
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Looks like it validates to me (briank's demo site doesn't because of the PM mod URLs)
7,083 2005-05-15 10:09
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
If it doesn't, tell me and I'll make it so it does?
7,084 2005-05-15 00:26
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Yes, very fun
OK, I dunno what the deal was with your error, but when I put it in I noticed I was missing a }
I need to fix that or the mod is useless, so I'll fix it in a sec
Edit: I just deleted the old 1.0.1 and made this 1.0.1
I'll send you an edited version of yours
7,085 2005-05-15 00:02
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Yeah, check the mod readme
7,086 2005-05-14 23:50
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Mmm, what's your line 467 and the stuff around it (my file doesn't go that high)
7,087 2005-05-14 16:02
Re: life as a forum-admin! (26 replies, posted in General discussion)
Ooh, this is one of my favorites
A friend of mine got access to the admin account on some freaky game and started messing around with it. He got some mails from people ingame and he responded, telling them he hacked the game. He got a response from one person: can I be admin?
7,088 2005-05-14 11:56
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
OK, all done and uploaded
http://www.punres.org/files.php?pid=80
Report any problems you have
7,089 2005-05-14 11:55
Re: Problem with DB management (8 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Probably because you have a big database to back up
7,090 2005-05-14 09:41
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Perfect, thanks Connor
7,091 2005-05-14 01:40
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
OK, I decided to push back the release until tomorrow (I currently have the config file, table, etc working, just need to create a plugin so it's possible to edit the AdSense info).
7,092 2005-05-14 01:11
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well, for the Adsense coloring I think Rickard wrote something on that
And the info: looking at the source code for this page:
google_ad_client = "pub-5038618221283072";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_ad_type = "text";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "005CB1";
google_color_url = "005CB1";
google_color_text = "333333";
google_alternate_color = "FFFFFF";
Are there other things? For some things (like ad type and ad format) are there a limited number of options (so I could use a pull-down box instead of a textbox in the plugin I'm going to make).
7,093 2005-05-14 01:07
Re: "Select your preferred style" order (7 replies, posted in PunBB 1.2 troubleshooting)
Try playing with asort?
7,094 2005-05-13 21:56
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
OK, I'll write a quick readme up when I get back and release it. I'm not going to create an install_mod.php file, since so far it's only one insert query. I'm going to change up the code a lot over the weekend so it's more dynamic, and if anyone is willing to help explain to me the different options Google Adsense offers to make sure I include them all, feel free to email me
7,095 2005-05-13 21:29
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well, I'm almost done
Note to self: in the future, know something about what you're coding a mod for (in this case, Adsense).
Since I've never used it before, tell me if I've gotten something wrong: I plan to add a whole bit for all the Adsense options (ie: border, ad_format, all that stuff I see when looking at the source code here ).
But when I first release it, you'll have to edit that stuff yourself
Ooh, even better: create a new table, store the name of the poster and it's tag as well as all the options, and have the ability to store different color schemes for each stylesheet (future release)
Oh, and a cache file for the info!
Alright, all done, but I need to go somewhere soon.
7,096 2005-05-13 18:23
Re: punbb adsense advertisement mod? (43 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Mmm, I'll see what I can do
7,097 2005-05-13 18:22
Re: Trouble integrating extern.php (7 replies, posted in PunBB 1.2 troubleshooting)
Should be ./forum/, not /forum/
7,098 2005-05-13 15:08
Re: Trouble integrating extern.php (7 replies, posted in PunBB 1.2 troubleshooting)
Erm, extern.php& should be extern.php?
7,099 2005-05-13 10:29
Re: Ban users - moderators (2 replies, posted in Feature requests)
Erm, it's in there
In Permissions the admin can set if mods can ban or not...
7,100 2005-05-13 01:28
Re: [Release] AP Clear Cache (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
lol