djdeeno
Offline
Posts: 51
|
 |
« Reply #50 on: March 04, 2010, 09:43:33 AM » |
|
Hi
I have install UserExtend and its works realy fine thank you. I have 1 one quistion, when you log in as admin, you can see al the users and they profile/info, but can i make a page in the frontend site, to let visitors show who the members are without login?
so what you see as admin in the backend, view also as visitor at the frontend.? I know thats not in de settings, but maybe someone can me little explain how i can do that. i know the php language.
Thanks
|
|
|
|
|
Logged
|
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #51 on: March 05, 2010, 12:02:22 PM » |
|
Post 12+13 show some code for a droplet that prints a list of all useres and some date... I use something like this (droplet), maybe you have to change the collumns (free fields...) // direct access prevention if (defined('WB_PATH') == false) { exit("Cannot access this file directly"); }
if ($_SESSION['USERNAME'] == NULL ) { return "Not logged in!"; }
// load Language file if (LANGUAGE_LOADED) { if (!file_exists(WB_PATH . '/modules/userextend/languages/' . LANGUAGE . '.php')) { require_once(WB_PATH . '/modules/userextend/languages/EN.php'); } else { require_once(WB_PATH . '/modules/userextend/languages/' . LANGUAGE . '.php'); } }
// access database and obtain users table $query = "SELECT * FROM `" . TABLE_PREFIX . "user_extend` e JOIN `" . TABLE_PREFIX . "users` u ON e.user_id=u.user_id JOIN `" . TABLE_PREFIX . "groups` g ON g.group_id=u.group_id WHERE u.group_id = '2' ORDER BY u.display_name"; $results = $database->query($query);
$output;
//$output = "<h2>" . $MUSEREXT_TEXT['HEADING'] . "</h2>"; $output .= "<table border=0>"; $output .= "<tr><th align='left'>".$MUSEREXT_TEXT['USR1']."</th><th align='left'>".$MUSEREXT_TEXT['FIELD1']."</th><th align='left'>".$MUSEREXT_TEXT['FIELD2']."</th><th align='left'>".$MUSEREXT_TEXT['FIELD3']."</th><th align='left'>".$MUSEREXT_TEXT['FIELD5']."</th><th align='left'>".$MUSEREXT_TEXT['FIELD6']."</th><th align='left'>".$MUSEREXT_TEXT['USR2']."</th><th align='left'>".$MUSEREXT_TEXT['FIELD8']."</th><th align='left'>".$MUSEREXT_TEXT['FIELD9']."</th><th align='left'>".$MUSEREXT_TEXT['FIELD10']."</th></tr>";
$i = 0; $color;
// write out table with the usernames while ($row = $results->fetchRow()) { if ($i % 2) { $color = "#FFFFFF"; } else { $color = "#CCCCCC"; }
$output .= "<tr bgcolor='" . $color . "'><td>"; $output .= $row["display_name"] . "</td><td>" . $row["address"] . "</td><td>" . $row["zipcode"] . "</td><td>" . $row["city"] . "</td><td>" . $row["phone"] . "</td><td>" . $row["mobile"] . "</td>"; $output .= "<td><a href=\"mailto:" . $row["email"] . "\" title=\"" . $row["email"] . "\">" . $row["email"] . "</a></td>"; $output .= "<td><a href='" . $row["website"] . "' target='_new'>" . $row["website"] . "</a></td>"; $output .= "<td>".$row["freefield1"]."</td><td>".$row["freefield2"]."</td>"; $i++; } $output .= "</table>";
return $output;
|
|
|
|
|
Logged
|
|
|
|
ghost06
Offline
Posts: 53
|
 |
« Reply #52 on: October 01, 2010, 06:23:26 PM » |
|
I put where to find these files? 
|
|
|
|
|
Logged
|
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #53 on: October 11, 2010, 01:47:45 PM » |
|
The zip archive for the wb 2.8 replacement contains a folder "account" with 3 files. This folder can also be found in te root directory of any wb installation. Just replace those files (backup before). Afterwards check the login of you're frontend - it should show an extra block with extended unser informations... please note that the link has changed - use: http://www.beat.i-networx.de/files/wb_account_2-8.zip
|
|
|
|
« Last Edit: October 14, 2010, 07:47:59 AM by beatjost »
|
Logged
|
|
|
|
messali
Offline
Posts: 27
|
 |
« Reply #54 on: November 01, 2010, 12:10:58 PM » |
|
Polish language file.
|
|
|
|
|
Logged
|
|
|
|
iradj
Offline
Posts: 261
|
 |
« Reply #55 on: November 14, 2010, 09:45:58 PM » |
|
Hallo beatjost,
ist es möglich die Informationen "Aktive" und Ausgeschaltet" aus der User-Tabelle in User-Extend zu integrieren und von hieraus sie zurück zu schreiben? Es soll von der user_extend der User Ausgeschaltet bzw. Aktiv werden können.Und wenn ja wo muss ich ansetzten. Zur Info ich bin kein große php-Programmierer.
Grüße Iradj
Please write in English!
|
|
|
|
« Last Edit: November 15, 2010, 01:21:36 PM by Argos »
|
Logged
|
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #56 on: November 15, 2010, 01:18:11 PM » |
|
Hallo beatjost,
ist es möglich die Informationen "Aktive" und Ausgeschaltet" aus der User-Tabelle in User-Extend zu integrieren und von hieraus sie zurück zu schreiben? Es soll von der user_extend der User Ausgeschaltet bzw. Aktiv werden können.Und wenn ja wo muss ich ansetzten. Zur Info ich bin kein große php-Programmierer.
Grüße Iradj
Wenn ich das richtig verstanden habe, wären das einfach zwei neue Felder (oder eines mit 2 Stati). Du kannst die Tabelle (UserExtend) natürlich auch damit erweitern, musst dann einfach den Code noch anpassen, damit diese mitgespeichert werden... (detail.php)Please write in English!
|
|
|
|
« Last Edit: November 15, 2010, 01:21:21 PM by Argos »
|
Logged
|
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #57 on: November 19, 2010, 10:38:30 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
|
|
mstaido
Offline
Posts: 14
|
 |
« Reply #59 on: April 08, 2011, 09:41:25 AM » |
|
Hi, its possible to save the mobile number (natel) in the backend, but in the frontend after saving the field is empty... i see this problem only in this field! i use the newest user_extend_v1.3 and wb_account_2-8!
my mistake?
|
|
|
|
« Last Edit: April 08, 2011, 09:57:29 AM by mstaido »
|
Logged
|
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #60 on: May 09, 2011, 10:56:07 AM » |
|
Hi, its possible to save the mobile number (natel) in the backend, but in the frontend after saving the field is empty... i see this problem only in this field! i use the newest user_extend_v1.3 and wb_account_2-8!
my mistake?
For all who had this problem with storing of mobile#... there was a small spelling mistake which is now corrected! -> please re-download 'wb_account_2-8.zip' again and replace the files on your server...
|
|
|
|
|
Logged
|
|
|
|
ufferichter
Offline
Posts: 36
|
 |
« Reply #61 on: May 09, 2011, 03:53:01 PM » |
|
Was trying to download it to translate to Danish, but the zip file in wb_account_2-8 dont work.
|
|
|
|
|
Logged
|
Regards Uffe
websitebaker.dk
|
|
|
mstaido
Offline
Posts: 14
|
 |
« Reply #62 on: May 11, 2011, 08:16:55 AM » |
|
Hi, its possible to save the mobile number (natel) in the backend, but in the frontend after saving the field is empty... i see this problem only in this field! i use the newest user_extend_v1.3 and wb_account_2-8!
my mistake?
For all who had this problem with storing of mobile#... there was a small spelling mistake which is now corrected! -> please re-download 'wb_account_2-8.zip' again and replace the files on your server... thanks for the fix - now it works...
|
|
|
|
|
Logged
|
|
|
|
ufferichter
Offline
Posts: 36
|
 |
« Reply #63 on: May 11, 2011, 12:59:40 PM » |
|
No now its dosend work Download: Admin-Modul (Version 1.3) Frontend-Replacement WB2.8
No one of them now, just a no connect site
|
|
|
|
|
Logged
|
Regards Uffe
websitebaker.dk
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #64 on: May 12, 2011, 02:46:51 PM » |
|
No now its dosend work Download: Admin-Modul (Version 1.3) Frontend-Replacement WB2.8
No one of them now, just a no connect site
Server was down, downloads are available again...
|
|
|
|
|
Logged
|
|
|
|
ufferichter
Offline
Posts: 36
|
 |
« Reply #65 on: May 12, 2011, 05:22:41 PM » |
|
Website Baker installation not in correct format. Check *. zip format
Still the same problem, hmmmmm
|
|
|
|
|
Logged
|
Regards Uffe
websitebaker.dk
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #66 on: May 13, 2011, 10:48:22 AM » |
|
seems as newly a upgrade.php file is needed... I corrected the actual version 1.3. -> please redownload UserExtend 1.3 if you had problems while installing...
|
|
|
|
|
Logged
|
|
|
|
ufferichter
Offline
Posts: 36
|
 |
« Reply #67 on: May 13, 2011, 02:18:05 PM » |
|
Server down again so no download, this is impossible?
|
|
|
|
|
Logged
|
Regards Uffe
websitebaker.dk
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #68 on: May 16, 2011, 06:19:08 AM » |
|
Server down again so no download, this is impossible?
Actually the server had some problems the last days - but should be up and running again 
|
|
|
|
|
Logged
|
|
|
|
ufferichter
Offline
Posts: 36
|
 |
« Reply #69 on: May 17, 2011, 04:40:55 PM » |
|
Website Baker installation not in correct format. Check *. zip format
I uninstall the old and install the new, so i dont know why
And just to be correct its the Frontend-Replacement WB2.8 file the error is
|
|
|
|
|
Logged
|
Regards Uffe
websitebaker.dk
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #70 on: February 15, 2012, 03:49:35 PM » |
|
Website Baker installation not in correct format. Check *. zip format
I uninstall the old and install the new, so i dont know why
And just to be correct its the Frontend-Replacement WB2.8 file the error is
Haven't found any problems with installing and zip-format. Could install it on serveral hosts and also others could... Do not really understand what you want me to say with the second comment concerning the frontend replacement 
|
|
|
|
|
Logged
|
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #71 on: March 15, 2012, 01:47:04 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
BobbyT123
Offline
Posts: 3
|
 |
« Reply #72 on: March 18, 2012, 11:40:18 AM » |
|
Back-end works fine - nice job, having a problem with the front end though. Seems that after i get below the "standard preferences" the page displays the code... Hmmmm any ideas? Version 2.0 with 2.8 front files have tried various combinations of Module and Front files. others won't even display. Have a few core hacks and changed a few lines of the standard language files to a more "American English". All form not function. Have tried downloading several times to check file sizes since no one has md5 or sha's of the downloads to verify them. I regularly do this because of problems in the past. I would rather not have to dissect the code if this problem has been encountered before. Using the back-end functiionallity but......Any help would be appreciated. Have Bakery installed it looks like I will be able to write something for that to do what I need. When I do, I'll post it.  Thanks anyway,. Bob T.
|
|
|
|
« Last Edit: March 21, 2012, 07:48:52 AM by BobbyT123 »
|
Logged
|
|
|
|
beatjost
Offline
Posts: 66
|
 |
« Reply #73 on: March 25, 2012, 10:49:56 AM » |
|
hi bob t. I use UserExtend v2.0 with frontend replacement 2.8.3 and this works fine on several instances... But I do not have any other core-file hacks. Any failure message or just empty screen?
|
|
|
|
|
Logged
|
|
|
|
BobbyT123
Offline
Posts: 3
|
 |
« Reply #74 on: April 06, 2012, 12:04:53 PM » |
|
It just displays the code. I found a reversed php closing statement in preferences_form.ph p just before the form proper and for some reason the form will not display properly with echo leading the stanzas. and by the way I'm trying it on both Websitebaker 2.8.3 and Lepton 1.4. Does not work properly on either- probably my core hacks that mostly deal with sign-up, login and integration of languages in forms. I thought they were clean enough not to effect other things.
Bob T
|
|
|
|
|
Logged
|
|
|
|
|