PDA

View Full Version : phpBB Forum Help


Kim
03-15-2010, 01:58 PM
So, I'm working on my own forum, and it looks okay, we have custom smileys, and we even have decent spoiler tags. But I'm not too in the know on how to do phpBB stuff. So, with that, I have the following questions for the less technologically ignorant of NPF.

1. Adding custom BBCode buttons to the top of the New Post/Post New Thread pages. Basically, I want someone to be able to just click buttons and shit, rather than have to puzzle out whatever weirdass BBCode they need to type out to make it work. (Got the buttons working, too)

2. Quick Reply... There are a lot of quick reply mods out there, but I just want something simple, and easy to implement. (Finally got it working)

3. I dunno. Any other random "A forum should have this" stuff you guys would recommend putting in, too.

So I guess this is now a "What BBCode would be awesome to implement on my forums" thread.

phil_
03-15-2010, 05:11 PM
1. Adding custom BBCode buttons to the top of the New Post/Post New Thread pages. Basically, I want someone to be able to just click buttons and shit, rather than have to puzzle out whatever weirdass BBCode they need to type out to make it work.Buttons are for the weak. Make'em learn the code. I used the quote button to make this post.

Edit: Also, now I'm wondering if I should join that forum or not, since I'd likely only post to tell you guys stuff like the C-button centers the camera and you can un-invert the camera from the pause menu in Crystal Bearers. You know, piddling, unimportant stuff that I wouldn't post here and that has no bearing on the validity of your reviews but that's still mistaken. I mean, geeze, I'm annoyed with myself for just typing that example.

Kim
03-17-2010, 04:25 PM
Okay, now I'm trying to allow BBCode in custom profile fields.

This is supposedly what I should be putting in there...

$uid = $bitfield = $options = ''; $allowed_bbcode = $allowed_smilies = $allowed_urls = true; generate_text_for_storage($field_data["PROFILE_FIELD_VALUE"], $uid, $bitfield, $options, $allowed_bbcode, $allowed_smilies, $allowed_urls); $field_data["PROFILE_FIELD_VALUE"] = generate_text_for_display($field_data["PROFILE_FIELD_VALUE"], $uid, $bitfield, $options);

Or, at least, that's the main thing. Unfortunately, this was designed for Prosilver, and I'm using a different style on the site, so the coding is different, so I can't find where to shove this. Any ideas on what I should look for, or if I should add/change any of this code?

<!-- BEGIN custom_fields -->
<p><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</p>

<!-- END custom_fields -->

Here's the section for custom profile fields, which is what I want to use it for, if that helps.

Azisien
03-17-2010, 08:12 PM
A dice rolling program! I know I've seen chunks of code for it available.


I think I tried to get Meister to add it here for the RP forums like 2-3 years ago but he ignored me.

Damn I'm old.