DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Create a Forum Codes and Support
*****************************************************
#Post#: 7204--------------------------------------------------
[Request] Custom tab that leads to a database..
DIR By: Lionel
Date: November 10, 2012, 6:42 am
---------------------------------------------------------
Alright, I want to know if this is possible.
To save suspensions/promotions etc I need a custom tab that
leads into a database in which those information are saved, and
only a certain rank can add information to that database.
(Normal users can see the records, but they cannot add anything
except the admin eg)
Example: Custom tab name is "Records"
This is what you see as NORMAL USER:
Date | Employee name | Rank | New Rank | Reason
----------------------------------------------------------------
DD/MM/YY | XXXXX XXXXX | XXXXXXXX | XXXXXXX | YYYYYYYY
This is what you see as the HOLDER OF A SPECIFIC RANK BELONGING
TO THE COMMAND STAFF [Commander; Deputy Commissioner;
Commissioner]
Date | Employee name | Rank | New Rank | Reason
----------------------------------------------------------------
DD/MM/YY | XXXXX XXXXX | XXXXXXXX | XXXXXXX | YYYYYYYY
Add information to record:
Date:
Employee name:
Rank:
New Rank:
Reason:
---------------------------------------------------------
I'm not sure if this is possible, but i wondered if you could
help me, thank you.
#Post#: 7210--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: xboi209
Date: November 10, 2012, 10:41 am
---------------------------------------------------------
1) Admin CP > Page Manager > Add Page
2) Click Hide TinyMCE Editor
3) Copy and paste this code into the textarea:
--- Code ---
<center><table border="0" cellspacing="10" width="600"
frame="box">
<tbody>
<tr>
<th>Date</th> <th>Employee Name</th> <th>Rank</th> <th>New
Rank</th> <th>Reason</th>
</tr>
<tr>
<td>DD/MM/YY</td>
<td>XXXXX XXXXX</td>
<td>XXXXXXXX</td>
<td>XXXXXXX</td>
<td>YYYYYYYY</td>
</tr>
</tbody>
</table>
</center>
--- End Code ---
4) Click Check All for Permissions and then click Add Page
button.
5) Copy the link
6) Style Manager > Custom Tabs
7) Enter in info for a new tab and click Add Tab
#Post#: 7213--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: Lionel
Date: November 10, 2012, 10:52 am
---------------------------------------------------------
I see random stuff and the codes when I click on my new page..
I see this:
<center><table border="0" cellspacing="10" width="600"
frame="box">
<tbody>
<tr>
<th>Date</th> <th>Employee Name</th> <th>Rank</th> <th>New
Rank</th> <th>Reason</th>
</tr>
<tr>
<td>DD/MM/YY</td>
<td>XXXXX XXXXX</td>
<td>XXXXXXXX</td>
<td>XXXXXXX</td>
<td>YYYYYYYY</td>
</tr>
</tbody>
</table>
</center>
The codes have no effect at all..
#Post#: 7214--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: xboi209
Date: November 10, 2012, 10:59 am
---------------------------------------------------------
Did you follow step 2?
#Post#: 7215--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: Lionel
Date: November 10, 2012, 11:04 am
---------------------------------------------------------
Yes.
#Post#: 7216--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: xboi209
Date: November 10, 2012, 11:05 am
---------------------------------------------------------
Try clicking the HTML button and then insert the code into the
pop-up box.
#Post#: 7217--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: Lionel
Date: November 10, 2012, 11:10 am
---------------------------------------------------------
Thanks!
#Post#: 7218--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: Lionel
Date: November 10, 2012, 11:14 am
---------------------------------------------------------
And what should I do to add more spaces for information?
I'm done now with an employee, now I want to proceed to another,
can you make a code for that ONLY with the spaces (XXX and Y's)
and without the 'Name' and 'new rank' etc?
#Post#: 7219--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: xboi209
Date: November 10, 2012, 11:17 am
---------------------------------------------------------
--- Quote ---
>
> <center><table border="0" cellspacing="10" width="600"
frame="box">
> <tbody>
> <tr>
> <th>Date</th> <th>Rank</th> <th>Reason</th>
> </tr>
> <tr>
> <td>DD/MM/YY</td>
> <td>XXXXXXXX</td>
> <td>YYYYYYYY</td>
> </tr>
> </tbody>
> </table>
> </center>
>
--- End Quote ---
Bolded what you should copy and paste for more information,
paste it after the last bolded <tr>. Replace the new code with
the old one.
#Post#: 7220--------------------------------------------------
Re: [Request] Custom tab that leads to a database..
DIR By: Lionel
Date: November 10, 2012, 11:32 am
---------------------------------------------------------
Thank you, you are really great :)
*****************************************************
Page 1 of 1