Closed (fixed)
Project:
phpbb
Version:
5.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
30 Aug 2007 at 12:39 UTC
Updated:
30 Aug 2007 at 19:18 UTC
For some reasonb signatures won't appear on the forums. I have made the adjustments so avatars appear just fine, but still not getting sigs...
I would also like to know if there is a way to get information from the phpbb database to fill fields in a custom profile.
Comments
Comment #1
arkepp@drupal.org commentedI am guessing you are confused by the new signature system in phpBB 3.x, check
User Control Panel - Board Preferences - Edit Display Options - Display Signatures
I haven't done anything about feeding profile data back to Drupal because phpBBs new profile system is much more complex than what you can easily do in Drupal. It's doable for sure, the 4.7 module shows you have to transfer from Drupal's custom profiles to phpBB, which is the same idea but in the opposite direction.
Comment #2
Haggle commentedI'm sorry I forgot to include the specifics.
I'm using drupal 5.1
phpbb 2.0.18
Comment #3
Haggle commentedAlso would you happen to know a way of pulling constants such as
to work when in use in a custom profile? In the forum that value shows up as the database value but in drupal it shows as {L_VIEWING_PROFILE}.
Comment #4
arkepp@drupal.org commentedSignatures appear to work, but you have to check them off on each post (I personally think signatures are a waste of space when the name is to the left anyway, but you can change this)
http://kepp.net/drupal-5.1/forum/viewtopic.php?p=101#101
I haven't heard about any complaints regarding signatures. If you are still having trouble I suggest you try changing your users signature in Drupal and watch the corresponding user in phpBBs database using something like phpMyAdmin. If it doesnt change, but it shows up in Drupals user profile, then the module is not doing its job. Otherwise you have a phpBB problem.
{L_VIEWING_PROFILE} is an artifact of phpBBs template system, it's not a variable you can access from anywhere else.
You should probably write a small, new module that implements hook_user in Drupal and displays the fields you want. Figure out how this "L_VIEWING_PROFILE" is stored in phpBBs database and get it straight from there.
Comment #5
Haggle commentedit would appear that users did not have attach signature on be default. thank you for the information regarding watching the databases.
As far as the artifacts go I guess I'm to much of a novice to pull something like that off. I was hoping to pull database information from phpbb to the custom profiles in drupal.
Comment #6
arkepp commentedcustom profiles is not designed to reach out to other databases, I am not aware of any modules that do this, but I would not be surprised if they exist. If it's a commercial undertaking you can hire me or someone else to do it, probably not hard.
If you want signatures on by default do this:
Open the .module file, find line 80, replace
with
(Notice the "user_attachsig" on the first line and the additional "1" in the end. Make these changes yourself, do not cut'n'paste from this page because Drupal sometimes messes up code)
Comment #7
arkepp commentedI should add, you can, as the phpBB admin, edit any existing user profiles to enable signatures by default.
Comment #8
arkepp commented