Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ai-gu

Pages: [1] 2
1
I did with home.html and found no tag {user_name}, did with details.html and found only one {user_name_link} when I changed to {username_link} all the uploaders' usernames were "GUEST"

can you show me the code which calls the user name of the uploaders in details.php and the logged in username of the Userbox??

Thank you

2
Hi V@no,

As I did last time (changing so many user_name into username in *.php files) to the 4images, now I got this problems:
1- When logged in the salutation is not proper (no user name after the word logged in as: . .)
2- The author of the image is not shown . .

(you can see at the site)

I tried around with the detail.php but then it came the author as Guest for all images . . .

Could you please suggest me what I should look into . .

Thanks and nice weekend!

3
Quote from: V@no
... another thing, at your site, when u update profile it still give u an error message.


After jumping around, this error is now fixed, but I did not remember exactly how it was fix . .  :?  . .  trying to change all user_name to username in any php files of 4images.

But now come this problem. . .

before changing user_name to username in these files, the userbox worked properly, but now I did not.
Before it was: logged in as: ai-gu (Ex)
now, it is: logged in as: (empty here)

I need ur suggestion again
thanks

4
I got that but did not know how to fix it!! Any suggestion for that?
thanks

5
Hi V@no,
Done and successfull.

I go into include folder of 4images, rename all "user_name" to "username" in the files functions.php, session.php; and it works

You can check by urself!

Thanks for ur advice and courage!

6
thanks for ur idea,
by the way, all "user_name" in member.php had already been changed to "username" a couple of weeks ago.

Do you think that, I have to look into the include file(s), if so pliz suggest me which file(s) I should spend time on it.

Thanks again

7
Quote from: V@no
to solve all that, u must litterely rewrite almost entire mod, to fix the different fields names in the database...
for example, for the user list:
in member.php find:
Code: [Select]
ORDER BY ".get_user_table_field("", "user_name")." ASC";try to replace it with:
Code: [Select]
ORDER BY ".get_user_table_field("", "username")." ASC";if this wont work, then try this:
Code: [Select]
ORDER BY username ASC";


I think that is because of integration also. I did two suggestions also. With the first suggestion, it came nothing (no username). With the second suggestion, there was a list of username BUT we can not view exactly the username (u can check by urself, I still keep the second option on the page), when I select 1 or 2 member to add, there come lots of things to be solved:

Quote
DB Error: Bad SQL Query: SELECT FROM phpbb202_users WHERE user_id = 246
You have an error in your SQL syntax near 'FROM phpbb202_users WHERE user_id = 246' at line 2

DB Error: Bad SQL Query: SELECT * FROM 4images_groupaccess WHERE group_id = AND cat_id = 76
You have an error in your SQL syntax near 'AND cat_id = 76' at line 3

DB Error: Bad SQL Query: SELECT FROM phpbb202_users WHERE user_id = 246
You have an error in your SQL syntax near 'FROM phpbb202_users WHERE user_id = 246' at line 2

DB Error: Bad SQL Query: DELETE FROM 4images_groupaccess WHERE cat_id = 76 AND group_id =
You have an error in your SQL syntax near '' at line 2

DB Error: Bad SQL Query: INSERT INTO 4images_groupaccess (group_id, cat_id, auth_viewcat, auth_viewimage, auth_download, auth_upload) VALUES (, 76, 1, 0, 0, 0)
You have an error in your SQL syntax near ' 76, 1, 0, 0, 0)' at line 4

DB Error: Bad SQL Query: SELECT FROM phpbb202_users WHERE user_id = 122
You have an error in your SQL syntax near 'FROM phpbb202_users WHERE user_id = 122' at line 2

DB Error: Bad SQL Query: SELECT * FROM 4images_groupaccess WHERE group_id = AND cat_id = 76
You have an error in your SQL syntax near 'AND cat_id = 76' at line 3

DB Error: Bad SQL Query: SELECT FROM phpbb202_users WHERE user_id = 122
You have an error in your SQL syntax near 'FROM phpbb202_users WHERE user_id = 122' at line 2

DB Error: Bad SQL Query: DELETE FROM 4images_groupaccess WHERE cat_id = 76 AND group_id =
You have an error in your SQL syntax near '' at line 2

DB Error: Bad SQL Query: INSERT INTO 4images_groupaccess (group_id, cat_id, auth_viewcat, auth_viewimage, auth_download, auth_upload) VALUES (, 76, 1, 0, 0, 0)
You have an error in your SQL syntax near ' 76, 1, 0, 0, 0)' at line 4


What should I do now?

8
Hi V@no,

thanks for ur suggestion, but the usernames at my site do not have special characters . . .

I think there must be somethings wrong in the command or function to call the username to the table on the left handside . . . If possible, please let me know the code for this function, I will look into it to see any likely errors.

When I logged on my account at ur site, and edited the permission, the table on the left handside is full of username, while at my site it was empty . . . .

Thanks for early reply

9
hello,
I have a problem below:



When I edit permission to "private", there should be a list of usernames in the left hand side (no access) to be added to the right side (allow access) . .
However, the list on the left handside was empty, even I have hundres of members at my site (see picture), could you please help me to solve this.
Thanks

10
Well the link was alterred, I meant when I pointed browser directly to the control panel page of 4images, then I found it worked.

but when a normal member activate the personal cartegory, it came that error . . .

I couldn't get your meaning for this:

Quote
what goes after user_viewemail in your code?


though, there is error, the cartegory was activated anyway, I guess the problem maybe at the field names definition were not the same in 4images and phpBB . . .

11
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

12
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

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

14
Mods & Plugins (Releases & Support) / [MOD] Members Personal Category
« 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

15
Mods & Plugins (Releases & Support) / [MOD] Members Personal Category
« on: April 24, 2003, 05:03:57 AM »
Quote from: lakeside
Will this mod conflict with the user upload limits mod?


so how can we solve this problem???
I also installed the member upload limit MOD

Pages: [1] 2