Author Topic: [MOD] Members Personal Category (obsolete, not supported)  (Read 141541 times)

0 Members and 1 Guest are viewing this topic.

Offline ib41

  • Full Member
  • ***
  • Posts: 171
    • View Profile
[MOD] Members Personal Category
« Reply #15 on: April 30, 2003, 09:36:27 AM »
Quote from: ai-gu
I 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 REGULAR member or even as ADMINISTRATOR

by the way, my 4images is intergrated with vBulletin 2.2.8


whats the solution ?

People gain a lil authority and suddenly they think they're god
then you tell them the truth and they can't handle it
so they abuse the power bestowed upon them

Offline ai-gu

  • Newbie
  • *
  • Posts: 29
    • View Profile
[MOD] Members Personal Category
« Reply #16 on: April 30, 2003, 09:40:07 AM »
Quote from: ib41
Quote from: ai-gu
I 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.8


whats the solution ?



Your problem may be same to mine, as my 4images is integrated in phpBB2.0.2

Any one help us out with this?
Thanks

Offline jackie911

  • Newbie
  • *
  • Posts: 41
    • View Profile
New Template Error
« Reply #17 on: May 01, 2003, 03:40:14 PM »
Can you send me 3 new template and 1 existing template via e-mail.
I have a problems to create and mod those files.

member_cat_edit.html
member_cat_edit_bit.html
member_cat_terms.html


member_editprofile.htm
l

Thanks.

Jackie
jackie911@so-net.com.hk

Offline ai-gu

  • Newbie
  • *
  • Posts: 29
    • View Profile
[MOD] Members Personal Category
« Reply #18 on: May 01, 2003, 05:58:22 PM »
Quote from: V@no


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.


Hi V@no, probably the problem is with the integration of 4images into phpBB (as my case).

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.

I would appreciate if you could help us solving this problem . .

Thanks in advance.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[MOD] Members Personal Category
« Reply #19 on: May 01, 2003, 06:18:59 PM »
Quote from: ai-gu
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.

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...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ib41

  • Full Member
  • ***
  • Posts: 171
    • View Profile
[MOD] Members Personal Category
« Reply #20 on: May 02, 2003, 08:32:45 AM »
Quote from: V@no
Quote from: ai-gu
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.

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...


Ok I created another 4Images page
stand alone, NO intergration with any BB at all


I install the HACK/mod, as the ADMIN I logged in, create a category ( MEMBERS PRIVATE )  and apply these settings  ( Bottom Right of Pic )


(    )

Next I logged in as a REGULAR user and click on Control Panel and all I saw was ( see Personal Category circled in pic below )

 ( )

I checked the BOX and apply my settings change, but it just brings me back to that SAME screen with the box UNchecked.

unlike at YOUR forum ( as a member ) when I click on Control Panel, what I see is ( pic attached below )

 

ACTIVATE had YES and NO option,
below that was EDIT
when I clicked EDIT I was able to do features

so whats my NEXT step/where did I go wrong ?  ?

Thanks in advance
 
People gain a lil authority and suddenly they think they're god
then you tell them the truth and they can't handle it
so they abuse the power bestowed upon them

Offline jackie911

  • Newbie
  • *
  • Posts: 41
    • View Profile
Problems to MOD the template
« Reply #21 on: May 02, 2003, 09:03:17 AM »
I had some problems to mod the template html.
Please send me the changed template html to me via e-mail.

Thanks.

Jackie
jackie911@so-net.com.hk

Offline ib41

  • Full Member
  • ***
  • Posts: 171
    • View Profile
Re: Problems to MOD the template
« Reply #22 on: May 02, 2003, 09:06:36 AM »
Quote from: jackie911
I had some problems to mod the template html.
Please send me the changed template html to me via e-mail.

Thanks.

Jackie
jackie911@so-net.com.hk

   


Hello Jackie

was this directed to ME ? did you want ME to send you MY templates ?

Thanks in advance
People gain a lil authority and suddenly they think they're god
then you tell them the truth and they can't handle it
so they abuse the power bestowed upon them

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[MOD] Members Personal Category
« Reply #23 on: May 02, 2003, 09:14:56 AM »
ah, ok, guys, I dont know whats wrong with this forum, but I cant open first page of this thread. can someone post part from the mod for member_editprofile.html ?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline jackie911

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Problems to MOD the template
« Reply #24 on: May 02, 2003, 09:18:28 AM »
RIght............
Thanks...........a LOT.

Quote from: ib41
Quote from: jackie911
I had some problems to mod the template html.
Please send me the changed template html to me via e-mail.

Thanks.

Jackie
jackie911@so-net.com.hk

   


Hello Jackie

was this directed to ME ? did you want ME to send you MY templates ?

Thanks in advance

Offline ai-gu

  • Newbie
  • *
  • Posts: 29
    • View Profile
[MOD] Members Personal Category
« Reply #25 on: May 02, 2003, 09:22:53 AM »
To v@no, here you are

Quote
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}&nbsp;<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>&nbsp;{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

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[MOD] Members Personal Category
« Reply #26 on: May 02, 2003, 09:31:09 AM »
ah, ok, then try this instead:
Code: [Select]
{if lang_activate}
          <tr>
            <td colspan="2" valign="top" class="head1">{lang_user_cat}&nbsp;<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}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ib41

  • Full Member
  • ***
  • Posts: 171
    • View Profile
[MOD] Members Personal Category
« Reply #27 on: May 02, 2003, 09:49:12 AM »
Quote from: V@no
ah, ok, then try this instead:
Code: [Select]
{if lang_activate}
          <tr>
            <td colspan="2" valign="top" class="head1">{lang_user_cat}&nbsp;<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 ?

T I A
People gain a lil authority and suddenly they think they're god
then you tell them the truth and they can't handle it
so they abuse the power bestowed upon them

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[MOD] Members Personal Category
« Reply #28 on: May 02, 2003, 09:54:06 AM »
Quote from: ib41
should that code be added at the TOP ? Bottom ? anywhere specific ?

no. just make sure it's inside the <form...>...</form>
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline ai-gu

  • Newbie
  • *
  • Posts: 29
    • View Profile
[MOD] Members Personal Category
« Reply #29 on: May 02, 2003, 10:00:38 AM »
Quote from: V@no
Quote from: ai-gu
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.

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...


Please refer to this problem:

I made a link to http://www.1XYZZhd.net/4images/member.php?action=editprofile then it called up the original "control panel" of 4images, and I found the "personal Cartegory" in it (logged as normal member).
But the problem is when I selected to activate the Personal Cartegory, this error came.

Quote
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 = 22
You have an error in your SQL syntax near '= 0, user_allow_viewonline = 0, user_website = '', user_icq = '', user_cat_activ' at line 4


Could you please explain me how to solve this problem.
Thanks