Author Topic: Member area  (Read 7480 times)

0 Members and 1 Guest are viewing this topic.

Offline winracer

  • Development Team
  • Pro Member
  • *******
  • Posts: 446
  • Karma: 3
    • View Profile
    • helpmewithperl.com
  • Script Version: 1.0+
Re: Member area
« Reply #45 on: December 07, 2009, 07:26:11 PM »
Sorry, I think it"s my fault. Add a " before user.php


I added and even changed to

Code: [Select]

td width="400" valign="top">{$LAN_160} <a href="user.php?u={$videos[videos_com].nom}"> {$videos[videos_com].nom}<a href="user.php?u={$videos[videos_com].nom}">View User</a><br />
    <b>{$videos_com[videos_com].comment}</b></td>


and for some resaon the {$videos[videos_com].nom} is not picking up a user name


I am testing and when I post with a different username I get the same avatar the admin one. in the video comment. I have a  different/ right avatar showing in the header.

« Last Edit: December 07, 2009, 07:51:19 PM by winracer »
winracer
myfunnypets.com
helpmewithperl.com
coosavalleyclassifieds.com
brownlows.net
myphpforum.com

Offline thefrenchboy

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: Member area
« Reply #46 on: December 07, 2009, 08:06:57 PM »
Enfin ... quelqu'un qui parle français mdr, bienvenu ,j'ai aimer ta version pour les jeu en flash !!

Enfait ton script est suerbe et je crois même qu'il est unique ( a rechercher si je dis vrai ). Si tu as besoins d'un membre pour t'aider au niveau graphique je suis preneur ^^ ( réference : mon-hebergement.org, oziris.biz, streamingfilm.org, et d'autres ...)

« Last Edit: December 07, 2009, 08:09:50 PM by thefrenchboy »

Offline winracer

  • Development Team
  • Pro Member
  • *******
  • Posts: 446
  • Karma: 3
    • View Profile
    • helpmewithperl.com
  • Script Version: 1.0+
Re: Member area
« Reply #47 on: December 07, 2009, 08:20:10 PM »
I have added a PM system and a user page.

Firedart I have send you a message on Play-online if you want to see.

You can download it here

Don't forget to do a backup of your files and database before updating.


GREAT JOB PM works great!
winracer
myfunnypets.com
helpmewithperl.com
coosavalleyclassifieds.com
brownlows.net
myphpforum.com

Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Re: Member area
« Reply #48 on: December 07, 2009, 08:24:00 PM »
I have made a new LAN File, so I will auto uodate it with Version 3.0

Code: [Select]
$smarty->assign('LAN_1', 'Error');
$smarty->assign('LAN_2', 'Featured');
$smarty->assign('LAN_3', 'All');
$smarty->assign('LAN_4', 'Images');
$smarty->assign('LAN_5', 'Submit');
$smarty->assign('LAN_6', 'admin');
$smarty->assign('LAN_7', 'Sort By');
$smarty->assign('LAN_8', 'Worst Rated Videos');
$smarty->assign('LAN_9', 'Best Rated Videos');
$smarty->assign('LAN_10', 'Least Viewed Videos');
$smarty->assign('LAN_11', 'Most Viewed Videos');
$smarty->assign('LAN_12', 'Least Recent Videos');
$smarty->assign('LAN_13', 'Most Recent Videos');
$smarty->assign('LAN_14', 'View');
$smarty->assign('LAN_15', 'Popup');
$smarty->assign('LAN_16', 'By');
$smarty->assign('LAN_17', 'Views');
$smarty->assign('LAN_18', 'Prev');
$smarty->assign('LAN_19', 'Next');
$smarty->assign('LAN_20', 'Good Video but no thanks, this is the example.');
$smarty->assign('LAN_21', 'No Link submited, would you like to submit a video?');
$smarty->assign('LAN_22', 'This video already exists.');
$smarty->assign('LAN_23', 'Please enter a valid link.');
$smarty->assign('LAN_24', 'Thanks for submitting ');
$smarty->assign('LAN_25', 'It will be reviewed shortly.');
$smarty->assign('LAN_26', 'Sorry this video has been rejected.');
$smarty->assign('LAN_27', 'This Video doesnt exist');
$smarty->assign('LAN_28', 'Please do not browse videos this way.');
$smarty->assign('LAN_29', 'Nothing to Display');
$smarty->assign('LAN_30', 'New way to browse Videos');
$smarty->assign('LAN_31', 'Rating');
$smarty->assign('LAN_32', 'Views');
$smarty->assign('LAN_33', 'Name');
$smarty->assign('LAN_34', 'Date');
$smarty->assign('LAN_35', 'Description');
$smarty->assign('LAN_36', 'Author');
$smarty->assign('LAN_37', 'Example');
$smarty->assign('LAN_38', 'Submit Another Video?');
$smarty->assign('LAN_39', 'Random');
$smarty->assign('LAN_40', 'Categories');
$smarty->assign('LAN_41', 'Home');
$smarty->assign('LAN_42', 'Logout');
$smarty->assign('LAN_43', 'List All');
$smarty->assign('LAN_44', 'Approve Video');
$smarty->assign('LAN_45', 'Feature Video');
$smarty->assign('LAN_46', 'Reject Video');
$smarty->assign('LAN_47', 'Easy Approve');
$smarty->assign('LAN_48', 'Options');
$smarty->assign('LAN_49', 'Video Name');
$smarty->assign('LAN_50', 'Description');
$smarty->assign('LAN_51', 'Action');
$smarty->assign('LAN_52', 'Approve');
$smarty->assign('LAN_53', 'Feature');
$smarty->assign('LAN_54', 'Reject');
$smarty->assign('LAN_55', 'or');
$smarty->assign('LAN_56', 'Delete');
$smarty->assign('LAN_57', 'Videos Per Page');
$smarty->assign('LAN_58', 'Language');
$smarty->assign('LAN_59', 'Everything is required, Nothing can be blank');
$smarty->assign('LAN_60', 'No Videos To Approve');
$smarty->assign('LAN_61', 'Welcome To Admin');
$smarty->assign('LAN_62', 'Username');
$smarty->assign('LAN_63', 'Password');
$smarty->assign('LAN_64', 'Add');
$smarty->assign('LAN_65', 'Edit');
$smarty->assign('LAN_66', 'You May need to click twice to update');
$smarty->assign('LAN_67', 'News');
$smarty->assign('LAN_68', 'Video');
$smarty->assign('LAN_69', 'Template');
$smarty->assign('LAN_70', 'A Community Driven Project');
$smarty->assign('LAN_71', 'Search');
$smarty->assign('LAN_72', 'PHPDirector');
$smarty->assign('LAN_73', 'Powered by');
$smarty->assign('LAN_74', 'Bookmark or Share This');
$smarty->assign('LAN_75', 'Videos');
$smarty->assign('LAN_76', 'More');
$smarty->assign('LAN_77', 'This video type is currently unsupported');
$smarty->assign('LAN_78', 'Media');
$smarty->assign('LAN_79', 'Step');
$smarty->assign('LAN_80', 'Enter Video URL and click');
$smarty->assign('LAN_81', 'Supported');
$smarty->assign('LAN_82', 'Sites');
$smarty->assign('LAN_83', 'Source');
$smarty->assign('LAN_84', 'Confirm Default Screenshot');
$smarty->assign('LAN_85', 'Title');
$smarty->assign('LAN_86', 'Author');
$smarty->assign('LAN_87', 'Rating will close Pop-up');
$smarty->assign('LAN_88', 'Category');
$smarty->assign('LAN_89', 'Video you wish to Submit');
$smarty->assign('LAN_90', 'Link This Video');
$smarty->assign('LAN_91', 'Embed This Video');
$smarty->assign('LAN_92', 'Rate This Video');
$smarty->assign('LAN_93', 'Share This Video');

$smarty->assign('LAN_94', 'Update');
$smarty->assign('LAN_95', 'If you wish to edit the "Category Name" you will need to edit the MySql Table "pp_categories" and edit the "name" Field.');
$smarty->assign('LAN_96', 'No Videos');
$smarty->assign('LAN_97', 'Navigation');
$smarty->assign('LAN_98', 'logo');
$smarty->assign('LAN_99', 'alt');
$smarty->assign('LAN_100', 'slogan');
$smarty->assign('LAN_101', 'favicon');
$smarty->assign('LAN_102', 'Use Absolute Path');

$smarty->assign('LAN_103', 'Login');
$smarty->assign('LAN_104', 'Password');
$smarty->assign('LAN_105', 'Log in');
$smarty->assign('LAN_106', 'Log out');
$smarty->assign('LAN_107', 'Register');
$smarty->assign('LAN_108', 'You need to be logged-in to comment on this video');
$smarty->assign('LAN_109', 'Add to my favorite');
$smarty->assign('LAN_110', 'My Favorites');
$smarty->assign('LAN_111', 'My Avatar');
$smarty->assign('LAN_112', 'Use this format to upload/update your avatar');
$smarty->assign('LAN_113', 'Upload your avatar');
$smarty->assign('LAN_114', 'My Favorites');
$smarty->assign('LAN_115', 'Your file must be less than 100 kb and have a size of 50x50');
$smarty->assign('LAN_116', 'Complete the form to become a member');
$smarty->assign('LAN_117', 'Confirm Password');
$smarty->assign('LAN_118', 'Email');
$smarty->assign('LAN_119', 'Register');
$smarty->assign('LAN_120', 'Comment');
$smarty->assign('LAN_121', 'Image');
$smarty->assign('LAN_122', 'Avatar');
$smarty->assign('LAN_123', 'Select');
$smarty->assign('LAN_124', 'Delete from Favorites');

Just add the names of the what you are using and I will edit the LAN file.

The other Lang's will come after this English one is done, the French, etc....

-FireDart
« Last Edit: December 07, 2009, 08:25:43 PM by FireDart »

Offline hilflo

  • Full phpd Member
  • ***
  • Posts: 98
  • Karma: 2
  • Sorry for my bad english
    • View Profile
    • Les félés
Re: Member area
« Reply #49 on: December 07, 2009, 08:27:05 PM »
Sorry, I think it"s my fault. Add a " before user.php


I added and even changed to

Code: [Select]

td width="400" valign="top">{$LAN_160} <a href="user.php?u={$videos[videos_com].nom}"> {$videos[videos_com].nom}<a href="user.php?u={$videos[videos_com].nom}">View User</a><br />
    <b>{$videos_com[videos_com].comment}</b></td>


and for some resaon the {$videos[videos_com].nom} is not picking up a user name


I am testing and when I post with a different username I get the same avatar the admin one. in the video comment. I have a  different/ right avatar showing in the header.

in videos.php
replace
 
Code: [Select]
$smarty->assign('avatar', $row_av['avatar']);
By
Code: [Select]
$smarty->assign('useravatar', $row_av['avatar']);
And finally, in comment.tpl
replace
Code: [Select]
{$avatar} by
Code: [Select]
{$useravatar}
The problem was you used twice {$avatar} for two different query.

For the username, you have to
Code: [Select]
<a href="user.php?u={$videos[videos_com].nom}">

Offline hilflo

  • Full phpd Member
  • ***
  • Posts: 98
  • Karma: 2
  • Sorry for my bad english
    • View Profile
    • Les félés
Re: Member area
« Reply #50 on: December 07, 2009, 08:29:46 PM »
Enfin ... quelqu'un qui parle français mdr, bienvenu ,j'ai aimer ta version pour les jeu en flash !!

Enfait ton script est suerbe et je crois même qu'il est unique ( a rechercher si je dis vrai ). Si tu as besoins d'un membre pour t'aider au niveau graphique je suis preneur ^^ ( réference : mon-hebergement.org, oziris.biz, streamingfilm.org, et d'autres ...)

Pas de probleme, si tu as du temps, moi, le graphsem, c'est pas mon fort, à part adapter des templates existant (merci freecsstemplates).
Je crois que c'est la première fois que je parle francais sur ce forum, ca fait spé

Offline hilflo

  • Full phpd Member
  • ***
  • Posts: 98
  • Karma: 2
  • Sorry for my bad english
    • View Profile
    • Les félés
Re: Member area
« Reply #51 on: December 07, 2009, 08:36:20 PM »
I have made a new LAN File, so I will auto uodate it with Version 3.0

Code: [Select]
$smarty->assign('LAN_1', 'Error');
$smarty->assign('LAN_2', 'Featured');
$smarty->assign('LAN_3', 'All');
$smarty->assign('LAN_4', 'Images');
$smarty->assign('LAN_5', 'Submit');
$smarty->assign('LAN_6', 'admin');
$smarty->assign('LAN_7', 'Sort By');
$smarty->assign('LAN_8', 'Worst Rated Videos');
$smarty->assign('LAN_9', 'Best Rated Videos');
$smarty->assign('LAN_10', 'Least Viewed Videos');
$smarty->assign('LAN_11', 'Most Viewed Videos');
$smarty->assign('LAN_12', 'Least Recent Videos');
$smarty->assign('LAN_13', 'Most Recent Videos');
$smarty->assign('LAN_14', 'View');
$smarty->assign('LAN_15', 'Popup');
$smarty->assign('LAN_16', 'By');
$smarty->assign('LAN_17', 'Views');
$smarty->assign('LAN_18', 'Prev');
$smarty->assign('LAN_19', 'Next');
$smarty->assign('LAN_20', 'Good Video but no thanks, this is the example.');
$smarty->assign('LAN_21', 'No Link submited, would you like to submit a video?');
$smarty->assign('LAN_22', 'This video already exists.');
$smarty->assign('LAN_23', 'Please enter a valid link.');
$smarty->assign('LAN_24', 'Thanks for submitting ');
$smarty->assign('LAN_25', 'It will be reviewed shortly.');
$smarty->assign('LAN_26', 'Sorry this video has been rejected.');
$smarty->assign('LAN_27', 'This Video doesnt exist');
$smarty->assign('LAN_28', 'Please do not browse videos this way.');
$smarty->assign('LAN_29', 'Nothing to Display');
$smarty->assign('LAN_30', 'New way to browse Videos');
$smarty->assign('LAN_31', 'Rating');
$smarty->assign('LAN_32', 'Views');
$smarty->assign('LAN_33', 'Name');
$smarty->assign('LAN_34', 'Date');
$smarty->assign('LAN_35', 'Description');
$smarty->assign('LAN_36', 'Author');
$smarty->assign('LAN_37', 'Example');
$smarty->assign('LAN_38', 'Submit Another Video?');
$smarty->assign('LAN_39', 'Random');
$smarty->assign('LAN_40', 'Categories');
$smarty->assign('LAN_41', 'Home');
$smarty->assign('LAN_42', 'Logout');
$smarty->assign('LAN_43', 'List All');
$smarty->assign('LAN_44', 'Approve Video');
$smarty->assign('LAN_45', 'Feature Video');
$smarty->assign('LAN_46', 'Reject Video');
$smarty->assign('LAN_47', 'Easy Approve');
$smarty->assign('LAN_48', 'Options');
$smarty->assign('LAN_49', 'Video Name');
$smarty->assign('LAN_50', 'Description');
$smarty->assign('LAN_51', 'Action');
$smarty->assign('LAN_52', 'Approve');
$smarty->assign('LAN_53', 'Feature');
$smarty->assign('LAN_54', 'Reject');
$smarty->assign('LAN_55', 'or');
$smarty->assign('LAN_56', 'Delete');
$smarty->assign('LAN_57', 'Videos Per Page');
$smarty->assign('LAN_58', 'Language');
$smarty->assign('LAN_59', 'Everything is required, Nothing can be blank');
$smarty->assign('LAN_60', 'No Videos To Approve');
$smarty->assign('LAN_61', 'Welcome To Admin');
$smarty->assign('LAN_62', 'Username');
$smarty->assign('LAN_63', 'Password');
$smarty->assign('LAN_64', 'Add');
$smarty->assign('LAN_65', 'Edit');
$smarty->assign('LAN_66', 'You May need to click twice to update');
$smarty->assign('LAN_67', 'News');
$smarty->assign('LAN_68', 'Video');
$smarty->assign('LAN_69', 'Template');
$smarty->assign('LAN_70', 'A Community Driven Project');
$smarty->assign('LAN_71', 'Search');
$smarty->assign('LAN_72', 'PHPDirector');
$smarty->assign('LAN_73', 'Powered by');
$smarty->assign('LAN_74', 'Bookmark or Share This');
$smarty->assign('LAN_75', 'Videos');
$smarty->assign('LAN_76', 'More');
$smarty->assign('LAN_77', 'This video type is currently unsupported');
$smarty->assign('LAN_78', 'Media');
$smarty->assign('LAN_79', 'Step');
$smarty->assign('LAN_80', 'Enter Video URL and click');
$smarty->assign('LAN_81', 'Supported');
$smarty->assign('LAN_82', 'Sites');
$smarty->assign('LAN_83', 'Source');
$smarty->assign('LAN_84', 'Confirm Default Screenshot');
$smarty->assign('LAN_85', 'Title');
$smarty->assign('LAN_86', 'Author');
$smarty->assign('LAN_87', 'Rating will close Pop-up');
$smarty->assign('LAN_88', 'Category');
$smarty->assign('LAN_89', 'Video you wish to Submit');
$smarty->assign('LAN_90', 'Link This Video');
$smarty->assign('LAN_91', 'Embed This Video');
$smarty->assign('LAN_92', 'Rate This Video');
$smarty->assign('LAN_93', 'Share This Video');

$smarty->assign('LAN_94', 'Update');
$smarty->assign('LAN_95', 'If you wish to edit the "Category Name" you will need to edit the MySql Table "pp_categories" and edit the "name" Field.');
$smarty->assign('LAN_96', 'No Videos');
$smarty->assign('LAN_97', 'Navigation');
$smarty->assign('LAN_98', 'logo');
$smarty->assign('LAN_99', 'alt');
$smarty->assign('LAN_100', 'slogan');
$smarty->assign('LAN_101', 'favicon');
$smarty->assign('LAN_102', 'Use Absolute Path');

$smarty->assign('LAN_103', 'Login');
$smarty->assign('LAN_104', 'Password');
$smarty->assign('LAN_105', 'Log in');
$smarty->assign('LAN_106', 'Log out');
$smarty->assign('LAN_107', 'Register');
$smarty->assign('LAN_108', 'You need to be logged-in to comment on this video');
$smarty->assign('LAN_109', 'Add to my favorite');
$smarty->assign('LAN_110', 'My Favorites');
$smarty->assign('LAN_111', 'My Avatar');
$smarty->assign('LAN_112', 'Use this format to upload/update your avatar');
$smarty->assign('LAN_113', 'Upload your avatar');
$smarty->assign('LAN_114', 'My Favorites');
$smarty->assign('LAN_115', 'Your file must be less than 100 kb and have a size of 50x50');
$smarty->assign('LAN_116', 'Complete the form to become a member');
$smarty->assign('LAN_117', 'Confirm Password');
$smarty->assign('LAN_118', 'Email');
$smarty->assign('LAN_119', 'Register');
$smarty->assign('LAN_120', 'Comment');
$smarty->assign('LAN_121', 'Image');
$smarty->assign('LAN_122', 'Avatar');
$smarty->assign('LAN_123', 'Select');
$smarty->assign('LAN_124', 'Delete from Favorites');

Just add the names of the what you are using and I will edit the LAN file.

The other Lang's will come after this English one is done, the French, etc....

-FireDart
The problem is LAN number I used is already used in this file.
For the french file, I can do it for you if you want
« Last Edit: December 07, 2009, 08:38:31 PM by hilflo »

Offline winracer

  • Development Team
  • Pro Member
  • *******
  • Posts: 446
  • Karma: 3
    • View Profile
    • helpmewithperl.com
  • Script Version: 1.0+
Re: Member area
« Reply #52 on: December 07, 2009, 09:05:39 PM »
Sorry, I think it"s my fault. Add a " before user.php


I added and even changed to

Code: [Select]

td width="400" valign="top">{$LAN_160} <a href="user.php?u={$videos[videos_com].nom}"> {$videos[videos_com].nom}<a href="user.php?u={$videos[videos_com].nom}">View User</a><br />
    <b>{$videos_com[videos_com].comment}</b></td>


and for some resaon the {$videos[videos_com].nom} is not picking up a user name


I am testing and when I post with a different username I get the same avatar the admin one. in the video comment. I have a  different/ right avatar showing in the header.

in videos.php
replace
 
Code: [Select]
$smarty->assign('avatar', $row_av['avatar']);
By
Code: [Select]
$smarty->assign('useravatar', $row_av['avatar']);
And finally, in comment.tpl
replace
Code: [Select]
{$avatar} by
Code: [Select]
{$useravatar}
The problem was you used twice {$avatar} for two different query.

For the username, you have to
Code: [Select]
<a href="user.php?u={$videos[videos_com].nom}">


tired  and still not working. would it best best for me to just start over?   or post the code here.   I did find out theat the user that has the 1st post on the video is the avatar that is used on all other post.. test site http://www.myfunnypets.com/123a/
winracer
myfunnypets.com
helpmewithperl.com
coosavalleyclassifieds.com
brownlows.net
myphpforum.com

Offline hilflo

  • Full phpd Member
  • ***
  • Posts: 98
  • Karma: 2
  • Sorry for my bad english
    • View Profile
    • Les félés
Re: Member area
« Reply #53 on: December 07, 2009, 10:24:49 PM »
I have found the solution for avatar and username
 new videos.php and comment.tpl is in attachement
« Last Edit: December 08, 2009, 02:33:13 AM by hilflo »

Offline winracer

  • Development Team
  • Pro Member
  • *******
  • Posts: 446
  • Karma: 3
    • View Profile
    • helpmewithperl.com
  • Script Version: 1.0+
Re: Member area
« Reply #54 on: December 08, 2009, 12:53:04 AM »
I have found the solution for avatar and username
 new videos.php and comment.tpl is in attachement


I have installed and looks like it is working I am going to test more

great job.......!!!!!!!!!!!!!!
winracer
myfunnypets.com
helpmewithperl.com
coosavalleyclassifieds.com
brownlows.net
myphpforum.com

Offline winracer

  • Development Team
  • Pro Member
  • *******
  • Posts: 446
  • Karma: 3
    • View Profile
    • helpmewithperl.com
  • Script Version: 1.0+
Re: Member area
« Reply #55 on: December 08, 2009, 12:57:27 AM »
I have found the solution for avatar and username
 new videos.php and comment.tpl is in attachement

I will have to look at it more tommorow but looks like it posts some thing more then one time when you post a commnet. could be something else not sure test it I have upload your files to my test site


it does on 2nd post same user it post again post one and two http://www.myfunnypets.com/123a/videos.php?id=1
« Last Edit: December 08, 2009, 12:59:43 AM by winracer »
winracer
myfunnypets.com
helpmewithperl.com
coosavalleyclassifieds.com
brownlows.net
myphpforum.com

Offline winracer

  • Development Team
  • Pro Member
  • *******
  • Posts: 446
  • Karma: 3
    • View Profile
    • helpmewithperl.com
  • Script Version: 1.0+
Re: Member area
« Reply #56 on: December 08, 2009, 02:03:40 AM »
hilflo I sent you a PM
winracer
myfunnypets.com
helpmewithperl.com
coosavalleyclassifieds.com
brownlows.net
myphpforum.com

Offline hilflo

  • Full phpd Member
  • ***
  • Posts: 98
  • Karma: 2
  • Sorry for my bad english
    • View Profile
    • Les félés
Re: Member area
« Reply #57 on: December 08, 2009, 02:34:49 AM »
This two files must be good. I hope. I have tested and I didn't see any problem

Offline winracer

  • Development Team
  • Pro Member
  • *******
  • Posts: 446
  • Karma: 3
    • View Profile
    • helpmewithperl.com
  • Script Version: 1.0+
Re: Member area
« Reply #58 on: December 08, 2009, 05:48:20 PM »
This two files must be good. I hope. I have tested and I didn't see any problem


thanks!
winracer
myfunnypets.com
helpmewithperl.com
coosavalleyclassifieds.com
brownlows.net
myphpforum.com

Offline thefrenchboy

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: Member area
« Reply #59 on: December 08, 2009, 09:01:27 PM »
Ok si tu as une  adresse msn, je suis preneur ! et bravo encors pour ton script. Je le trouve plus que correct. Et je t'offre volontier mon aide ^^ !

Je crois méme que tu vien de créer un bon script PHP a l'aide de PHPdirector !