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

Pages: 1 2 [3] 4 5 6 7 ... 41
31
Does the hack work with vB3.61 too? Because I do not like to mess up my website if it does not work together.

Nice question, i'm wondering about the same  :oops:

32
Mods & Plugins (Requests & Discussions) / [req] Last Action / Location
« on: October 11, 2006, 02:41:03 AM »
hi

how can i added at user profile the last location (action) ? before him(her) logout ?

like: Last Action:http://www.yoursite.com/lightbox.php?action=manage

how can i do it ? :?:

33
no it isn´t... )o:

Well this is working without PMv2 (i'm using old pms) and working  :mrgreen:

by the way, its possible added to bbcode a PHP tag ?

i.e  ....  , to be used with phpcode ? i've see it at some few forums  :|

34
Mods & Plugins (Requests & Discussions) / Re: [REQUEST] Page creator!
« on: October 09, 2006, 10:20:45 PM »
But this isnt at all a "MOD" , this is already used/posted at forum  :?

custum page  :|

35
Discussion & Troubleshooting / Need help to track posts
« on: October 09, 2006, 09:22:48 PM »
I'm using dreamboard and i'm trying track the topics started per user, trying use this code but this ill not working what i need do ?

my code:
Quote
//-----------------------------------------------------
//--- Topics By User---------------------------------------
//-----------------------------------------------------
   $sql = "SELECT SUM(thrtopic) AS sum
         FROM ".BOARD_TCONT_TABLE."  WHERE user_id = '".$user_info['user_id']."' AND thrtopic  ORDER by thrdate DESC  ";
 $row = $site_db->query_firstrow($sql);

 $sum = (isset($row['sum'])) ? $row['sum'] : 0;
 $foruminfo = "".$row['sum']."\n";
 
 $site_template->register_vars("foruminfo", $foruminfo);
unset($foruminfo);

What i need do or change to make show the topics started by each user ?????


36
Tutorials / Re: [Tutorial] Making additional field searchable
« on: October 09, 2006, 02:53:50 AM »
I'm using dreamboard ,and i would know how make the search form search for results at board, how added:

Table: 4images_boardtind  => thrtopic

Or if this isnt possible, a external script to search at this specific table  :oops:

37
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: October 07, 2006, 07:52:16 PM »
i've got a ideia but i don't know how do , i've take a look at showcomments under profile and think how modify it to show user posts :

[qcode]//-----------------------------------------------------
//---Show Member Comments-------------------------------
//-----------------------------------------------------

if ($action == "showcomments") {

 if (isset($HTTP_GET_VARS[URL_USER_ID]) || isset($HTTP_POST_VARS[URL_USER_ID])) {
   $user_id = (isset($HTTP_GET_VARS[URL_USER_ID])) ? intval($HTTP_GET_VARS[URL_USER_ID]) : intval($HTTP_POST_VARS[URL_USER_ID]);
   if (!$user_id) {
     $user_id = GUEST;
   }
 }
 else {
   $user_id = GUEST;
 }

   $additional_sql = "";
     $table_fields = $site_db->get_table_fields(USERS_TABLE);
     foreach ($additional_user_fields as $key => $val) {
       if (isset($HTTP_POST_VARS[$key]) && isset($table_fields[$key])) {
         $additional_sql .= ", $key = '".un_htmlspecialchars(trim($HTTP_POST_VARS[$key]))."'";
       }
     }
 $sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text, c.comment_ip, c.comment_date".get_user_table_field(", u.", "user_level").get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email").get_user_table_field(", u.", "user_showemail").get_user_table_field(", u.", "user_invisible").get_user_table_field(", u.", "user_joindate").get_user_table_field(", u.", "user_lastaction").get_user_table_field(", u.", "user_comments").get_user_table_field(", u.", "user_homepage").get_user_table_field(", u.", "user_icq").$additional_sql."
         FROM ".COMMENTS_TABLE." c
         LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = c.user_id)
         WHERE c.user_id = $user_id
         ORDER BY c.comment_date DESC, c.image_id ASC";
 $result = $site_db->query($sql);
 $comment_row = array();
 while ($row = $site_db->fetch_array($result)) {
   $comment_row[] = $row;
 }
 $site_db->free_result($result);
 $num_comments = sizeof($comment_row);
 if (!$num_comments) {
   $comments = "<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\"><tr><td class=\"commentrow1\" colspan=\"2\">".$lang['member_no_comments']."</td></tr></table>";
 }
 else {
   $comments = "";
   $bgcounter = 0;
   $comments ="<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\">\n<TR>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\">\n";
   $current = "";
   for ($i = 0; $i < $num_comments; $i++) {
    $image_id = $comment_row[$i]['image_id'];
     $sql = "SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file, i.image_allow_comments
           FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c
           LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
           WHERE i.image_id = $image_id AND c.cat_id = i.cat_id";
     $image_row = $site_db->query_firstrow($sql);
     $cat_id = (isset($image_row['cat_id'])) ? $image_row['cat_id'] : 0;
    $image_allow_comments = (check_permission("auth_readcomment", $cat_id)) ? $image_row['image_allow_comments'] : 0;
    if ($image_allow_comments == 1){
    if ($current != $comment_row[$i]['image_id']) {
      $comments .= ($i == 0) ? "" : "</TABLE>\n</TD>\n</TR>\n</TABLE>\n<br>\n<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"bordercolor\">\n<TR>\n<TD>\n<TABLE width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\">\n";
      $same = 1;
    }else{
      $same = 0;
    }
     $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;

     $comment_user_name = htmlspecialchars($comment_row[$i]['comment_user_name']);
     $comment_user_info = $lang['userlevel_guest'];

     $comment_user_id = $comment_row[$i]['user_id'];
    $user_row_comment = get_user_info($comment_user_id);
     if (isset($comment_row[$i][$user_table_fields['user_name']]) && $comment_user_id != GUEST) {
       $comment_user_name = htmlspecialchars($comment_row[$i][$user_table_fields['user_name']]);

       $comment_user_info .= "<br />";
     }

     $comment_user_ip = ($user_info['user_level'] == ADMIN) ? $comment_row[$i]['comment_ip'] : "";

     $admin_links = "";
     if ($user_info['user_level'] == ADMIN) {
       $admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php?goto=".urlencode("comments.php?action=editcomment&amp;comment_id=".$comment_row[$i]['comment_id']))."\" target=\"admin_edit\">".$lang['edit']."</a>&nbsp;";
       $admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php?goto=".urlencode("comments.php?action=removecomment&amp;comment_id=".$comment_row[$i]['comment_id']))."\" target=\"admin_edit\">".$lang['delete']."</a>";
     }
     elseif ($is_image_owner) {
       $admin_links .= ($config['user_edit_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=editcomment&amp;".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['edit']."</a>&nbsp;";
       $admin_links .= ($config['user_delete_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=removecomment&amp;".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['delete']."</a>";
     }
    $show_link = (!check_permission("auth_viewcat", $cat_id) || !check_permission("auth_viewimage", $cat_id)) ? 0 : 1;
     $site_template->register_vars(array(
      "comment_image" => ($same) ? get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link, 0, 1) : "",
      "comment_image_name" => (!$show_link) ? $image_row['image_name'] : "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$comment_row[$i]['image_id'].((!empty($mode)) ? "&amp;mode=".$mode : ""))."\">".$image_row['image_name']."</a>",
      "comment_cat_name" => (!check_permission("auth_viewcat", $cat_id)) ? $image_row['cat_name'] : "<a href=\"".$site_sess->url(ROOT_PATH."categories.php?".URL_CAT_ID."=".$cat_id)."\" class=\"smalltext\">".$image_row['cat_name']."</a>",
       "comment_id" => $comment_row[$i]['comment_id'],
       "comment_user_id" => $comment_user_id,
       "comment_user_name" => $comment_user_name,
       "comment_user_info" => $comment_user_info,
       "comment_user_ip" => $comment_user_ip,
       "comment_headline" => format_text($comment_row[$i]['comment_headline'], 0, $config['wordwrap_comments'], 0, 0),
       "comment_text" => format_text($comment_row[$i]['comment_text'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']),
       "comment_date" => format_date($config['date_format']." ".$config['time_format'], $comment_row[$i]['comment_date']),
       "row_bg_number" => $row_bg_number,
       "admin_links" => $admin_links
     ));
     $comments .= $site_template->parse_template("member_comment_bit");

    $current = $comment_row[$i]['image_id'];
}
   } // end while
 } //end else
 $comments .= "</TABLE>\n</TD>\n</TR>\n</TABLE>\n";
 $content = $comments;
 $txt_clickstream = $lang['member_comments'].(($user_id == GUEST) ? $lang['userlevel_guest'] : $comment_user_name);
}
//---End Member Comments----[/qcode]

make is show all users post's :?:

Nobody ??????????????  :cry:

38
I've added a user_gb_title ( its the same of headlines at images ) , so i would know how show the last one at user profile , example:

user XXX have posted a comment with headline " hi" at user ... , so i pretend show at user XXX profile , Last Comment: {headline_title}

 :| i need help !!

39
Use the rate form in another pages ??? like where ?

can use it at member_profile ?

40
Mods & Plugins (Requests & Discussions) / Re: [REQUEST] Page creator!
« on: September 29, 2006, 09:15:12 AM »
I did it my self!! Its my first working php script that i coded by my self! its not very much but i got it working! What i do is that i create a new php file with the code named like page_2.php then i switch out the template file, and make a new templatefile named page_2.html :D tell me if u want this script!

Would be interesting ;)

41
Can you explain the features and whats new on this version ?

42
Chit Chat / Re: How set at myphpadmin DB user,Db pass...
« on: September 26, 2006, 06:14:40 AM »
you sounds like a windows user...you dont need any chmod on windows system, just make sure the folders are writible.

Yes i'm windows user :)

But i'm using NetServer (webserver/host) , and i need set permissions to 777, when i install some scripts at my own server !!! On this case i'm hosting the website at my own computer (testing scripts) before install and my another host (paid one) ..

 :|

43
Chit Chat / Re: How set at myphpadmin DB user,Db pass...
« on: September 26, 2006, 02:40:55 AM »
just a tip:
screenshots: http://sourceforge.net/project/screenshots.php?group_id=128207
homepage: http://netserver.hugosoft.net
faqs: http://netserver.hugosoft.net/cms/e107_plugins/faq/faq.php
forum: http://netserver.hugosoft.net/cms/e107_plugins/forum/forum.php

I've check those last 3 links :) , the problem is this didnt have any cpanel !! make it lil more complicated , and i dunno how change chmod's at my folders (in my own pc) O_o

44
Chit Chat / How set at myphpadmin DB user,Db pass...
« on: September 25, 2006, 04:11:39 PM »
I'm using a software called NetServer, this allow me to run websites at my own computer, having sql,php,apache,etc etc , but this don't have cpanel , so how can i create via myphpadmin :

DB USER
DB NAME
DB PASSWORD


????

or if someone knows another program like NetServer...  :roll:

45
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: September 24, 2006, 10:40:36 PM »
I need help , i'm trying show the text and the number of replies at this way :

text - The original post (1º)
replies - Total of replies of that topic

Topic Name ..

text text text

total replies( total replies )

How do it , i really need it  :|

Note: using the code above , showing the last topics at (index.php, etc ) !!

Pages: 1 2 [3] 4 5 6 7 ... 41