4images code on GitHub Click here to visit GitHub.
0 Members and 1 Guest are viewing this topic.
I did activate it from the Admin Control panel already . . . So now, how?
Quote from: ai-guI did activate it from the Admin Control panel already . . . So now, how? same here, ACTIVATED and I dont see any new options when logged in as REULAR member or as ADMINISTRATOR by the way, my 4images is intergrated with vBulletin 2.2.8whats the solution ?
P.S. also, I forgot mention in the original post, that incase user's category was deleted by admin, next time user upadate hes profile it will create new category...let me know if this is a bad idea, it's easy to fix.
As you know, after integration, the user database is from phpBB and when I click on "control panel" in 4images page (logged in as normal member) it comes the "edit_profile" of the phpBB NOT what was from 4images before integration.
Quote from: ai-guAs you know, after integration, the user database is from phpBB and when I click on "control panel" in 4images page (logged in as normal member) it comes the "edit_profile" of the phpBB NOT what was from 4images before integration.Alteast now we know where is the problem...unfortunetly, to solve this I'll need code compleately separate mod, that integrated into PHPBB, not 4images...
I had some problems to mod the template html.Please send me the changed template html to me via e-mail.Thanks.Jackiejackie911@so-net.com.hk
Quote from: jackie911I had some problems to mod the template html.Please send me the changed template html to me via e-mail.Thanks.Jackiejackie911@so-net.com.hk Hello Jackiewas this directed to ME ? did you want ME to send you MY templates ?Thanks in advance
Step 8. Open /templates/<yourtemplate>/member_editprofile.html Add this:Code: {if lang_activate} <tr> <td colspan="2" valign="top" class="head1">{lang_user_cat} <sup class="new">{lang_new}</sup></td> </tr> <tr> <td class="row1" colspan="2"> <input type="checkbox" name="user_cat_active" value="1"{user_cat_active_yes} /><b> {lang_activate}</b> </td> </tr> {if user_cat_edit} <tr> <td class="row1" colspan="2"> <a href="{user_cat_edit}">{lang_edit}</a> </td> </tr> {endif user_cat_edit} {endif lang_activate} Done with /templates/<yourtemplate>/member_editprofile.html
{if lang_activate} <tr> <td colspan="2" valign="top" class="head1">{lang_user_cat} <sup class="new">{lang_new}</sup></td> </tr> <tr> <td class="row2"><b>{lang_activate}</b></td> <td class="row2"> <input type="radio" name="user_cat_active" value="1"{user_cat_active_yes} />{lang_yes} <input type="radio" name="user_cat_active" value="0"{user_cat_active_no} />{lang_no} </td> </tr> {if user_cat_edit} <tr> <td class="row1" colspan="2"> <a href="{user_cat_edit}">{lang_edit}</a> </td> </tr> {endif user_cat_edit} {endif lang_activate}
ah, ok, then try this instead:Code: [Select] {if lang_activate} <tr> <td colspan="2" valign="top" class="head1">{lang_user_cat} <sup class="new">{lang_new}</sup></td> </tr> <tr> <td class="row2"><b>{lang_activate}</b></td> <td class="row2"> <input type="radio" name="user_cat_active" value="1"{user_cat_active_yes} />{lang_yes} <input type="radio" name="user_cat_active" value="0"{user_cat_active_no} />{lang_no} </td> </tr> {if user_cat_edit} <tr> <td class="row1" colspan="2"> <a href="{user_cat_edit}">{lang_edit}</a> </td> </tr> {endif user_cat_edit} {endif lang_activate}
should that code be added at the TOP ? Bottom ? anywhere specific ?
DB Error: Bad SQL Query: UPDATE phpBB123xyz_users SET user_email = 'xxxx@yahoo.com', user_viewemail = 0, = 0, user_allow_viewonline = 0, user_website = '', user_icq = '', user_cat_active = '1' WHERE user_id = 22You have an error in your SQL syntax near '= 0, user_allow_viewonline = 0, user_website = '', user_icq = '', user_cat_activ' at line 4