Bravo List
Register
Go Back   > Bravo List > Source Code > Archive > OpenTracker
Reply
  #1  
Old 15-09-12, 08:22
Yupy's Avatar
Yupy Yupy is offline
Senior Member
 
Join Date: Nov 2008
P2P
Posts: 35
Default Forum Signature By Yupy
Run this SQL query:

Code:
ALTER TABLE `tracker_users` ADD `user_semnatura` text NOT NULL;
Now open CMS\applications\profile/edit.php and find:

Code:
$db->posts_perpage = $_POST['posts_perpage'];
Under add:

Code:
$db->semnatura = $_POST['semnatura'];
Also in the same file search for:

Code:
<tr>
                            <td width="150px">
                                <?php echo _t("Forum posts per page"); ?> :
                            </td>
                            <td>
                                <input type="text" name="posts_perpage" value="<?php echo $acl->posts_perpage ?>" size="40" /><br />
                                (<?php echo _t("0 = default"); ?>)
                            </td>
                        </tr>
Under it add:

Code:
<tr>
                           <!--- Forum Signature By Yupy --->
                            <td width="150px">
                                <?php echo _t("Signature"); ?> :
                            </td>
                            <td>
                                <input type="text" name="semnatura" value="<?php echo $acl->semnatura ?>" size="40" />
                            </td>
                        </tr>
Save and close now open CMS\applications\forums/view-topic.php and find:

Code:
<?php
                        echo htmlformat($db->post_content, true);

                        if ($db->post_edited_by != 0) {
                            $edited = new Acl($db->post_edited_by);
                            echo "<br /><br /><small>" . _t("Last edited") . " " . get_date($db->post_edited_date) . " " . _t("by") . " <a href='" . page("profile", "view", cleanurl($edited->name)) . "'>" . $edited->name . "</a></small>";
                        }
                        ?>
Right under add:

Code:
<br />
                        <br /> 
                        <hr width="50%" align="left">
                        <?php 
                        //Forum Signature By Yupy... 
                        echo bbcodes($acl->semnatura); 
                        ?>
Done...
Reply With Quote
  #2  
Old 18-09-12, 21:46
kutup95's Avatar
kutup95 kutup95 is offline
Senior Member
 
Join Date: Jun 2012
Turkey
Posts: 20
Default
Quote:
Originally Posted by yupy View Post
Run this SQL query:

Code:
ALTER TABLE `tracker_users` ADD `user_semnatura` text NOT NULL;
Now open CMS\applications\profile/edit.php and find:

Code:
$db->posts_perpage = $_POST['posts_perpage'];
Under add:

Code:
$db->semnatura = $_POST['semnatura'];
Also in the same file search for:

Code:
<tr>
                            <td width="150px">
                                <?php echo _t("Forum posts per page"); ?> :
                            </td>
                            <td>
                                <input type="text" name="posts_perpage" value="<?php echo $acl->posts_perpage ?>" size="40" /><br />
                                (<?php echo _t("0 = default"); ?>)
                            </td>
                        </tr>
Under it add:

Code:
<tr>
                           <!--- Forum Signature By Yupy --->
                            <td width="150px">
                                <?php echo _t("Signature"); ?> :
                            </td>
                            <td>
                                <input type="text" name="semnatura" value="<?php echo $acl->semnatura ?>" size="40" />
                            </td>
                        </tr>
Save and close now open CMS\applications\forums/view-topic.php and find:

Code:
<?php
                        echo htmlformat($db->post_content, true);

                        if ($db->post_edited_by != 0) {
                            $edited = new Acl($db->post_edited_by);
                            echo "<br /><br /><small>" . _t("Last edited") . " " . get_date($db->post_edited_date) . " " . _t("by") . " <a href='" . page("profile", "view", cleanurl($edited->name)) . "'>" . $edited->name . "</a></small>";
                        }
                        ?>
Right under add:

Code:
<br />
                        <br /> 
                        <hr width="50%" align="left">
                        <?php 
                        //Forum Signature By Yupy... 
                        echo bbcodes($acl->semnatura); 
                        ?>
Done...

please caps ?
Reply With Quote
  #3  
Old 19-09-12, 05:24
Yupy's Avatar
Yupy Yupy is offline
Senior Member
 
Join Date: Nov 2008
P2P
Posts: 35
Default
What do you mean?
Reply With Quote
  #4  
Old 23-09-12, 20:27
GuldlocK's Avatar
GuldlocK GuldlocK is offline
Senior Member
 
Join Date: Feb 2010
P2P
Posts: 22
Default
thx u :) it works great
Reply With Quote
  #5  
Old 16-10-12, 17:44
eedu's Avatar
eedu eedu is offline
Member
 
Join Date: Oct 2012
Brazil
Posts: 6
Question
He also works with images?
Reply With Quote
Reply

Tags
forum , signature , yupy

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 18:54. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2018, vBulletin Solutions Inc.