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
Connected, yes or no!
Controls ·  Search New posts · Mark unread

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

2020-08-07 15:06:28
The issue were the many changes in the topnavbar.php file. I have updated it mirroring the changes in the default theme and now all loads ok.

Quick fix for one error present in the default theme:

Line 48 needs an additional </a>

         //&nbsp;Donated: <a href='" .$site_config["SITEURL"]. "/donate' title='Donated Amount'><font color=gold>&nbsp;$CURUSER[donated]</font>[color=rgb(250, 197, 28)]</a>[/color]&nbsp;");

Grateful for your positive comment on my efforts in adding some options and moving them around as well.
Let me collect the links to the mods etc as requested.

Thanks again [USER=20288]@m-jay[/USER]
If It Ain't Dutch, It Ain't Much!!
2020-08-07 18:20:33
some more quick observes >>

- History of shoutbox is combining admin + user
- Reply function in shoutbox not yet defined
- Edit function in the shoutbox, reloads index.php in the shoutbox frame.
If It Ain't Dutch, It Ain't Much!!
2020-08-08 05:26:02
Reply button.. i gotta overhaul that too, add youtube images etc all that, tag others (+ send notify) - not my favourite thing to work on
2020-08-09 09:46:58
The reply seems easy enough I just load view with load(shoutbox/reply);
All I do then is add [USER=18220]@user[/USER] to input box on view  like edit but just pass user name

Tagging would be great addition, dont think php would be useful probably js or ajax which is out of my comfort zone ?

done a lot of changes so dont want to update github for a few days while i check i have not broken any links but
history is fixed,  edit fixed & reply added

noticed message count in navbar is acting strange that is fixed, just tiny little easy things a draw back from mass editing but im done moving things
today  button bashing in admincp to check everything,  ill work on the admin style as i go
2020-08-09 10:05:49
Hey [USER=20288]@m-jay[/USER], please also have a look at the profile pages.
The "profile" part does not change fully.

[ATTACH type="full"]5690[/ATTACH]
[ATTACH type="full"]5691[/ATTACH]
1596967464786.png
1596967464786.png
1596967487400.png
1596967487400.png

If It Ain't Dutch, It Ain't Much!!
2020-08-09 12:15:29
No problem that will be user(id) the old account used to be curuser(id) must of missed them

Also re-styled the admincp I'll take some screenshots later
Instead of std head, stdfoot, right/left block functions
I've replaced with templates adminheader, adminfooter, adminleftlist etc

The big block with images and links is gone :D
2020-08-09 14:42:15
here is what admincp looks like blocks are loaded in space below edit groups etc
Untitled.png
Untitled.png
2020-08-09 15:03:40
"m-jay, post: 68967, member: 20288":

here is what admincp looks like blocks are loaded in space below edit groups etc

Cleaned up version ;-)

Found this one for a more advanced Control Panel >>  [url='https://www.torrenttrader.xyz/index.php?threads/one-staffcp-for-all-the-staff-with-permission-or-not.3585/']One STAFFCP for all the staff with permission or not[/url]
If It Ain't Dutch, It Ain't Much!!
2020-08-09 20:32:33
added images to side list, admin section finished just testing
Untitled.png
Untitled.png
2020-08-11 13:18:07
Copied the files today...and many fixes :)

I think your revamping the torrent-details page as well!

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

Will check the code and report anything funny I see.
1597151827841.png
1597151827841.png

If It Ain't Dutch, It Ain't Much!!
2020-08-11 15:12:53
very small mistake  ?  change Read.php to read.php in views/torrents/   these are good examples of bugs - because we change so much its a capital letter, a link, a setting but that last github update is the last big one  just adding mods now & checking for bugs and give code a good clean & format for a pre-release on 1st september (pre-release because we need test before saying its safe to transfer any old site)

At the minute we have some empty models, some html in controllers but this does not effect function ( this is a really big task but the project works so after 12 months time to release stable version )
I plan to move all functions to classes but that is a choice not necessary the main thing is mod & release  (y)

On admincp the style is on custom.css border warning & primary, once released we might find someone who knows more about bootstrap lol
2020-08-13 08:01:14
"m-jay, post: 68962, member: 20288":

The reply seems easy enough I just load view with load(shoutbox/reply);
All I do then is add [USER=18220]@user[/USER] to input box on view  like edit but just pass user name

Tagging would be great addition, dont think php would be useful probably js or ajax which is out of my comfort zone ?

done a lot of changes so dont want to update github for a few days while i check i have not broken any links but
history is fixed,  edit fixed & reply added

noticed message count in navbar is acting strange that is fixed, just tiny little easy things a draw back from mass editing but im done moving things
today  button bashing in admincp to check everything,  ill work on the admin style as i go


[USER=20288]@m-jay[/USER] , please help to double check the shoutbox reply function. It actually deletes the message you are replying to, and replaced it with your reply.
If It Ain't Dutch, It Ain't Much!!
2020-08-13 11:10:19
I've had to remove reply for now, the input has 2 values username & the message so its returning null the username should be in the message itself, think that might have to be javascript
2020-08-13 12:23:40
"m-jay, post: 69004, member: 20288":

I've had to remove reply for now, the input has 2 values username & the message so its returning null the username should be in the message itself, think that might have to be javascript


Would this help >> https://www.torrenttrader.xyz/index.php?threads/hack-reply-shout-box.4393/
If It Ain't Dutch, It Ain't Much!!
2020-08-13 12:48:17
Its fairly simply to do, with more checking involved. Passing 3-4 hidden inputs will get everything you need. Here's a example i would pursue this.


if (!empty($_POST['reply']) && (intval($_POST['replied_id'])) {

$replyid = $_POST['replied_id'] ? intval($_POST['replied_id']) : 0;
$getreply = $_POST['message'];
$getuserid = $_POST['reply_userid'];
$senderid = $CURUSER['id'];
$recievername = $CURUSER['username'];

// Query (example code)
$data = ['msgid' => $replyid, 'user' => $recievername, 'message' => $getreply, 'date' => $db->now(), 'userid' => $getuserid];
$db->where('id', $senderid);
$db->insert('shoutbox', $data);
}
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728