• [MOD] All Comments (Alle Kommentare) V.1.6 5 0 5 1
Currently:  

Author Topic: [MOD] All Comments (Alle Kommentare) V.1.6  (Read 339731 times)

0 Members and 1 Guest are viewing this topic.

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #90 on: March 20, 2006, 07:17:12 PM »
Thanks. I thought that was for error.html. I manage to log in to my PHPMYADMIN but where am i suppose to search? phpbb_users or 4images_users?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #91 on: March 20, 2006, 08:03:12 PM »
this mod used user_id from table ...
- 4images_users
- 4images_comments
- 4images_images
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #92 on: March 21, 2006, 06:18:49 AM »
Thanks for the reply. I tried afew but it still doesn't seem to work. Below are my tables, any idea which one? Also, i have PHPBB integration, possible if it's in PHPBB table? Thanks for your replies, appreciate your help.

4images_4images
http://i1.tinypic.com/rvhlsi.jpg

4images_comments
http://i1.tinypic.com/rvhm2u.jpg

4images_users
http://i1.tinypic.com/rvhm4i.jpg

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #93 on: March 21, 2006, 09:19:39 AM »
@darkcurves,
look at your comments_all.php ...

this is your error message :
Quote
DB Error: Bad SQL Query: ... c.userid, ...
Unknown column 'c.userid'

and the query in comments_all.php must be (see the first page...) :
Quote
$sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS ...

In your tables you use only user_id ... !
« Last Edit: March 21, 2006, 09:31:43 AM by mawenzi »
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

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
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #94 on: March 21, 2006, 02:31:25 PM »
In your tables you use only user_id ... !
They have to use userid for the users table because of phpbb integration...
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 mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #95 on: March 21, 2006, 02:43:00 PM »
They have to use userid for the users table because of phpbb integration...
... but not in the tables which are above shown as pictures ...  :roll:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #96 on: March 22, 2006, 04:27:54 PM »
Thanks again for your reply. After changing c.userid to c.user_id, i get a different error below:

Code: [Select]
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 10341 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 10327 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 10366 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 10366 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 5605 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 6231 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 8544 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 10366 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 10324 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, u.user_id, u.user_level, u.username FROM 4images_images i, 4images_categories c LEFT JOIN phpbb_users u ON (u.user_id = i.user_id) WHERE i.image_id = 10366 AND c.cat_id = i.cat_id
Unknown column 'i.user_id' in 'on clause'

I have changed all userid to user_id at comments_all.php. What could be the problem this time? Thanks.

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
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #97 on: March 23, 2006, 01:38:50 AM »
u.user_id
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 darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #98 on: March 23, 2006, 07:17:53 AM »
Vano and Mawenzi, thanks alot guys! It works finally, really appreciate spending time to reply my posts. I am one happy webmaster!  :lol:

Btw, below the pics it says Anonymous, is it because i dont have the other two mods? Below is the link to my comments_all.php:
http://www.ktmrailwayfan.com/pics/comments_all.php

Offline waleed

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #99 on: April 06, 2006, 11:19:11 PM »
i installed this MOD and evrything is fine except one thing
here you can see:
http://www.maghna.com/comments_all.php

white page why ?

Offline waleed

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #100 on: April 06, 2006, 11:52:58 PM »
fixed

Offline koikonut

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
    • http://www.konradin.net
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #101 on: May 02, 2006, 06:04:15 AM »
Ich habe leider das gleiche Problem wie ein User ein paar Seiten zuvor, obwohl ich NICHTS an den Seiten verändert habe, noch am Style von 4images - es müsste also alles perfekt wie im "Auslieferungszustand" sein. Also bei mir wir auch blau auf blau geschrieben:

Siehe hier: http://www.konradin.net/comments_all.php

Vielen Dank beim Fehler finden helfen ;-)

Chao, übrigens ein toller Mod,
Konradin

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #102 on: May 02, 2006, 10:04:13 AM »
Hallo konradin,

in der comments_all_bit.html muss für den Tabellenkopf die Schriftfarbe geändert werden. Entweder du machst das über deine style.css mit einer neuen "class" ... oder du findest in der comments_all_bit.html folgendes ...
Code: [Select]
<tr>
   <td colspan="2" class="head2" height="20">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr><td width="75%">
        <b>{comment_counter}. {lang_com}</b> <small>{lang_for_image}</small><b> {comment_image_name}</b> <small>- [{lang_in_cat} {comment_cat_name}]</td>
        <td align="right" width="25%">
        <small>[{lang_com_date} <b>{comment_date}</b>]</small></td>
        </tr></table>
   </td>
</tr>

und tauscht es gegen dieses aus ...
Code: [Select]
<tr>
   <td colspan="2" class="head2" height="20">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr><td width="75%"><font color="#ffffff">
        <b>{comment_counter}. {lang_com}</b> <small>{lang_for_image}</small><b> {comment_image_name}</b> <small>- [{lang_in_cat} {comment_cat_name}]</font></td>
        <td align="right" width="25%"><font color="#ffffff">
        <small>[{lang_com_date} <b>{comment_date}</b>]</small></font></td>
        </tr></table>
   </td>
</tr>

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Sopur

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • Bilder des Harassenlaufs in Basel
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #103 on: May 02, 2006, 11:01:51 AM »
Hallo!
Bei mir funktioniert der Mod sehr gut :-)
Ein kleines (kosmetisches) Problem habe ich: wie bringe ich die Links auch weiss? Ich habe da schon in cer style.css rumgepröbelt, aber leider nichts gefunden :-(
Konkret geht es um diese Seite: http://www.harassenlauf.ch/comments_all.php

Vielen Dank!
M
F
G
Sopur

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.1
« Reply #104 on: May 02, 2006, 01:27:52 PM »
@ Sopur,

entweder du definierst in der style.css eine neue "class" für die Links im Tabellenkopf und verwendest diese dann in der comments_all_bit.html ... oder du machst das so wie hier -> http://www.4homepages.de/forum/index.php?topic=10632.msg59159#msg59159

mawenzi
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...