Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User control, info/settings/control/admi
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / M-BiTsy / M-BiTsy Support

2020-06-05 17:54:23
Dear [USER=20288]@m-jay[/USER] ,

Allow me to make the following suggestion:

- Where ever a user name is posted, admin should have direct access to the accountdetails page to amend/change the user. The link should always be there.
- When ever a user name is posted, other not admins should be able to view same page - without admin options

I have a thought >>

When a user is viewing his own accountdetails page, instead of the admin section view (meaning same place) - can the user view his usercp section?
Then can get rid of this usercp file - and concentrate user related info/settings/control/admin in one place.

And I think the Adminmodtasks etc is all related.

In all it is just a different view when somebody visits this accountdetails page, depending on role.

Just a thought.
If It Ain't Dutch, It Ain't Much!!
2020-06-05 19:47:54
I'll look at that, I kept usercp & accountdetails controllers separate but that is good idea.
I think maybe user class
Use?/userdetails then extend
User/torrents using view user group permission
2020-06-06 11:22:07
I try move quick so username links like top of loginblock we do as i see or reported but the idea is done (y)
All through one function so easy to improve for now very simple
user = can see all green buttons if your account - if not your account its hidden
admin = can see green & red every account

Memberlist, accountdetails  & account all in one controller 800 lines ;) so many edits lol

Improvement example maybe we allow user to view other users  users/mytorrents if permission but until fully tested i keep it simple for security
Untitled.png
Untitled.png
2020-06-06 13:19:10
Wow! U really do move fast!  (Showing 42 changed files with    1,055 additions    and 1,093 deletions. ) :p(y)
Looks promising!
On the users viewing other users profile, I think there is a setting in the usercp where u can opt for more privacy. I think if users have that option active, other normal users should not be able to view other member profiles. Mods, admins should still be able to view all users.
If It Ain't Dutch, It Ain't Much!!
2020-07-28 19:52:35
been going round in circles with user controller but this is something that ive been playing with, to test upload files from folder, the files dont overwrite anything just add then go to siteurl/neww

the controller is messy at minute but just need to finish it now but everything seems to work not tested reset your own email yet on xamp
this replaces account, account-details, modtasks etc
usercp.zip
Download
2020-07-29 01:46:52
Will copy for you later this morning...so when you wake up you can see it in action on our test site where you have registered ;-)

[ATTACH type="full"]5645[/ATTACH]
[ATTACH type="full"]5646[/ATTACH]
[ATTACH type="full"]5647[/ATTACH]
[ATTACH type="full"]5648[/ATTACH]
[ATTACH type="full"]5649[/ATTACH]
[ATTACH type="full"]5650[/ATTACH]
[ATTACH type="full"]5651[/ATTACH]
[ATTACH type="full"]5652[/ATTACH]
[ATTACH type="full"]5653[/ATTACH]
[ATTACH type="full"]5654[/ATTACH]
1595990877753.png
1595990877753.png
1595990998812.png
1595990998812.png
1595991032869.png
1595991032869.png
1595991077933.png
1595991077933.png
1595991101402.png
1595991101402.png
1595991124971.png
1595991124971.png
1595991180675.png
1595991180675.png
1595991201428.png
1595991201428.png
1595991222254.png
1595991222254.png
1595991261793.png
1595991261793.png

If It Ain't Dutch, It Ain't Much!!
2020-07-29 18:22:18
Its works same as before permission wise you can play with Id in url to check different users/permissions, on mine I have link to warned by Id, uploaded by Id etc
The side list and forms look a little off when I tidy files I'll put in a table so looks better.

I'll update github this week got a few controllers now user, account, email  been moving functions to classes too
2020-07-31 15:49:33
been playing with torrent controller as well but cant post that by itself its linked to a few things but here is how torrentdetails looks
Untitled.png
Untitled.png
2020-07-31 17:23:33
"m-jay, post: 68889, member: 20288":

been playing with torrent controller as well but cant post that by itself its linked to a few things but here is how torrentdetails looks


Looks good!!

For the torrent details, please check how the NFO field works for both Mozilla and Chrome browsers.
Current code shows NFO block ok on Mozilla (like Firefox), but on Chrome/Edge the NFO will overflow into the Torrents comments.
If It Ain't Dutch, It Ain't Much!!
2020-07-31 19:14:09
"m-jay, post: 68705, member: 20288":

I'll look at that, I kept usercp & accountdetails controllers separate but that is good idea.
I think maybe user class
Use?/userdetails then extend
User/torrents using view user group permission


Just to give some more thoughts what I have in mind, hope yours are the same:
- Have users control all their settings/privacy/torrent settings/ view settings/ reset pw/etc etc....in one place.
- For mods to have their overriding power where they should have (based on their level), and just view things at their level
- For admin same, just more power and view what he/she should be able to view
- For owner, he should have all power and be able to view all

Note, mods are mods admins are admins. I am not thinking of making any separation in this.

Further you should allow for additional functions to be added. Like:
- banning of comments
- banning of downloading
- warning for this or that
-
If It Ain't Dutch, It Ain't Much!!
2020-07-31 19:23:37
Allow me to take some screenshots from our current site...see below

[ATTACH type="full"]5656[/ATTACH]

[ATTACH type="full"]5657[/ATTACH]
1596223603587.png
1596223603587.png
1596223711145.png
1596223711145.png

If It Ain't Dutch, It Ain't Much!!
2020-07-31 20:16:21
for nfo in torrents controller find
print("<textarea class='nfo' style='width:98%;height:100%;' rows='20' cols='20' readonly='readonly'>" . stripslashes($nfo) . "</textarea>");
replce with
print("<div><textarea class='nfo' style='width:98%;height:100%;' rows='20' cols='20' readonly='readonly'>" . stripslashes($nfo) . "</textarea></div>");

Quote:
Have users control all their settings/privacy/torrent settings/ view settings/ reset pw/etc etc....in one place.

so far all the controllers are independent (torrents is little tricky) but all user settings together, all torrents together  this makes extending easier

Quote:
Further you should allow for additional functions to be added. Like:

A good example is user controller & torrent controller both have comments
so on torrent detail panel we link comment controller method $gettorrentcommentbyid($id); which shows torrent comments
&
on user detail panel we link comment controller method $getusercommentbyid($id); which shows users comments

i moved the torrent comments but havent looked at comments yet just trying to start moving everything
warnings is another good example we have a warning controller
Untitled.png
Untitled.png
2020-07-31 21:14:14
Which TT is your main site 2.08 if you post account, accountdetails and adminmodtask and shoutbox I'll have a look at some of them options
Might be able to piece it together i assume theres a condition in shoutbox
if $CURUSER[shoutboxbanned] a lot of it looks straight forward
2020-08-01 23:09:34
here is rough copy of shoutbox at minute only staff can edit/delete

add sql (we just add staff column will not effect anything)
upload files

on home controller find
echo '<iframe name="shout_frame" src="'.TTURL.'/shoutbox"

change TTURL.'/shoutbox"  to TTURL.'/newshout"
New folder.zip
Download
2020-08-02 15:41:00
"m-jay, post: 68893, member: 20288":

for nfo in torrents controller find
print("<textarea class='nfo' style='width:98%;height:100%;' rows='20' cols='20' readonly='readonly'>" . stripslashes($nfo) . "</textarea>");
replce with
print("<div><textarea class='nfo' style='width:98%;height:100%;' rows='20' cols='20' readonly='readonly'>" . stripslashes($nfo) . "</textarea></div>");


so far all the controllers are independent (torrents is little tricky) but all user settings together, all torrents together  this makes extending easier


A good example is user controller & torrent controller both have comments
so on torrent detail panel we link comment controller method $gettorrentcommentbyid($id); which shows torrent comments
&
on user detail panel we link comment controller method $getusercommentbyid($id); which shows users comments

i moved the torrent comments but havent looked at comments yet just trying to start moving everything
warnings is another good example we have a warning controller


NFO, confirmed fixed. Now looks ok on both Mozilla and Chromium
If It Ain't Dutch, It Ain't Much!!
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728