[Burichan] [Futaba] [Kusabax]  -  [WT]  [Home] [Manage]

[Return] [Entire Thread] [Last 50 posts] [First 100 posts]
Posting mode: Reply
Name
Email
Subject   (reply to 904)
Message
File
Password  (for post and file deletion)
  • Supported file types are: GIF, JPG, PNG
  • Maximum file size allowed is 1000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 450 unique user posts. View catalog


No. 904 ID: 1a8e0f
How about a /rs/ (4chan's /rs/) script add-on? It would be fucking awesome.

For those who don't know what /rs/ is it's a board/section where DDL links are added and categorized per relevant board. Very useful.
>> No. 907 ID: 1a8e0f
no?
>> No. 908 ID: 5ebfdc
>>904
http://www.diochan.com/rs/

been there, done that

It's a little tricky to setup but if you want I can help you doing it
>> No. 909 ID: 0981f7
>>908
This is also relevant to my interests. Is there code/instructions somewhere for this?
>> No. 910 ID: 6dd35c
>>909
http://rapidshare.com/files/330675315/rs.rar

No instructions yet.
Hope it works, I'm not a pr0-coder so it's probably redundant and slow.
Run install.php and cross your fingers.
>> No. 911 ID: 1a8e0f
>>908

very interesting anon, thanks a ton for that.

If you want you can post a little step-to-step here in this thread, maybe somebody from the stuff could add this to the wiki or sth.
>> No. 912 ID: df67e5
>>911
They're not interested, I've already asked Saz and Harrison.
>> No. 913 ID: 0981f7
>>910
Thanks a ton. I'll give it a shot as soon as my backups finish and let you know how the install goes.

Shame about Saz and Harrison though. It would be nice to have all this stuff in one place instead of scattered everywhere and eventually deleted.
>> No. 914 ID: bceac8
>>913
>as soon as my backups finish
good idea to backup
contact me if you need anything at the email in email field
>> No. 915 ID: 0981f7
>>914
Thanks, I'll take you up on that offer. Maybe between the two of us we'll work out why I'm getting a fugly error message.
>> No. 916 ID: 0981f7
>>915
Scratch that, the email bounced. Well, if anyone has any idea why I'd be seeing this on the newly created page you'll have my thanks.

"Warning: Invalid argument supplied for foreach() in /home/tfchanne/public_html/inc/classes/board-post.class.php on line 80

Warning: Invalid argument supplied for foreach() in /home/tfchanne/public_html/inc/classes/board-post.class.php on line 80"
>> No. 917 ID: bceac8
>>916
aw, probably because you have to create a board that has "rs" as abbreviation.

(try this email)
>> No. 919 ID: 5228c4
ах ти рюсске мудаг!
>> No. 927 ID: 0682e9
just tested this and i have a problem of it not showing any links from sites like RS

here's how i installed it:

1. made a backup of all files and sql

2. made a board called /rs/

3. copied all file from the rs.rar archive into my Kx folder overwriting all files

4. run install.php and ticked 'this is my first install' then i deleted the install.php script (like it said)

5. edited /rs/.htaccess from 'DirectoryIndex board.html' to 'DirectoryIndex index.php'

and like i said it shows the script just fine and i've posted some test RS links but nothing is showing and i can't search for the links... did i miss something?
>> No. 928 ID: 0682e9
>>927

also i see that inc\modules\rapidshare.php isn't called/used by any part of this mod so am i right to guess that this file needs to be run manually (via cron etc) for it to find/index the links?

i have tried to run it via command line but nothing happened...
>> No. 930 ID: 86dec2
http://rapidshare.com/files/333853591/rs.rar
Ok, it was my fault.
Fix'd, (thank to steve-o for simil-debug).
>> No. 931 ID: 0682e9
>>930

np happy to help

now there is only 2 small bugs

1. zshare's file size isn't displaying properly (i only used the file hosts and not the torrent sites so i have no idea if they work)

2. you can't add multiple links from multiple file hosts (so if you add an RS link(s) then an MU link(s) only the RS link(s) will be added)
>> No. 936 ID: 048fab
>>931
>1. zshare's file size isn't displaying properly (i only used the file hosts and not the torrent sites so i have no idea if they work)
fix'd
>2. you can't add multiple links from multiple file hosts (so if you add an RS link(s) then an MU link(s) only the RS link(s) will be added)
double fix'd

http://rapidshare.com/files/336217565/rs.rar

New version, with errors fixed.
>> No. 939 ID: a6c0dd
>>936
up and running fine at http://img.squisso.com/rs/

This is brilliant.
>> No. 940 ID: c23822
>>939
(:
Please let me know if you have any problem.

(an installation tutorial would be nice as a reward)
>> No. 941 ID: a6c0dd
>>940
This module is awesome, it should be included either in svn or as an addon.

I think kusabaX needs a board for addons, to encourage this kind of work done by the community.
>> No. 948 ID: e19856
Is there an option to submit links, like /rs/?
>> No. 949 ID: c69d55
>>948
I had to think about 4chan's /rs/ before understanding your question.
No, there's not at the moment, but I guess it's really simple to write and I'll do it as soon as I go home (in a week or so).
>> No. 971 ID: 647fc7
does this work in the latest version?
>> No. 972 ID: 791caa
>>971
I didn't try, I see no reason why it shouldn't.
>> No. 973 ID: 2b14d8
>>972
I can confirm that it works.

I tried adding sites that weren't included in the initial install by editing the install.php, and when that didn't work, the database directly. Is there something else I'm overlooking or did I just fuck up?
>> No. 975 ID: 647fc7
the rs rar file contains a dwoo.php, that file was updated in the latest Kusabax release, I suggest you don't overwrite it, I didn't and seems to work fine (still I didn't try to add more sites)
>> No. 976 ID: a1f629
can someone post link to a couple of chans where this module it's working?
I'd like to see in action before trying it.
does it break something if I install it?
how to uninstall?
>> No. 977 ID: 647fc7
>>976
read >>927
>> No. 978 ID: f60d7b
>>977
so it's not working?
I asked for links where it works
>> No. 979 ID: 4f512b
>>978
Can't help you if you're retarded.
>> No. 980 ID: 616280
>>978
it is working, just don't replace dwoo.php, I guess you can uninstall it by deleting de board and the DB entries related to it

sorry, I only tested it on a localhost so I can't provide a link to show you, but it works fine

>>949
are you still around?
>> No. 984 ID: ed9ddf
>>980
Of course.
What do you need?
>> No. 985 ID: 893be4
>>984

did you ever make the submit link option?
>> No. 986 ID: 4d0818
>>985
I completely forgot about it.
Done, here is the complete set:
http://rapidshare.com/files/369504915/rs.rar

changelog:
-rapidshare.class.php, rs_board_page.tpl, rs_postbox.tpl, index.php edited in order to use the submission form
-deleted dwoo.php (they fix'd themselves the problem in 0.9.1 version)
>> No. 987 ID: c26bde
>>986
maybe it's asking too much, but can you try adding a password option?
>> No. 988 ID: 3763bc
>>987
needed for?
>> No. 1009 ID: c0c1cf
>>988
bump for answer
>> No. 1010 ID: 67a98e
>>1009

maybe for password-protected files
>> No. 1011 ID: 44b7e6
>>1010
Oh I see.
I'll be working on that asap.
>> No. 1019 ID: 2125d8
>>1011
I've finished working on it.
I need to test it a bit before making it public. Anyone wants to try?
>> No. 1020 ID: 67a98e
>>1019

I can do it on a localhost

also, you're awesome, did you know it?
>> No. 1022 ID: 2125d8
>>1020
http://rapidshare.com/files/375835463/rs_beta.rar
This is the file, I edited:
inc/classes/rapidshare.class.php
inc/modules/rapidshare.php
dwoo/templates/rs_board_page.tpl
install.php

If you have already installed /rs/ on your localhost run install.php and select UPGRADE, otherwise select install as usual.


pic related: it should look like this
>> No. 1023 ID: 67a98e
>>1022

works great, you're awesome
>> No. 1029 ID: bcfd65
>>1023
>you're awesome
I'm not since noone is using it
>> No. 1031 ID: d188f5
>>1022
Not work here. Page doesn't load or nothing shows up right.
>> No. 1032 ID: 5effbf
>>1031
link + explain what you did
>> No. 1123 ID: 39375a
how do you uninstall?
>> No. 1124 ID: 39375a
someone?
>> No. 1125 ID: 228ac4
I still haven't coded down an uninstall, but here is what you have to do:

- delete /rs/ board from manage panel
- delete /rs/ folder
- delete /inc/modules/rapidshare.php
- delete DBPREFIXrs_links and DBPREFIXrs_sites in database (optional)

I think that's it.
>> No. 1126 ID: 39375a
>>1125
thanks anon, great script!
>> No. 1129 ID: ecc366
damn this is so tempting but im too scared to use it because im an idiot and will fuck up something.I hope this gets added in the future.
>> No. 1130 ID: 547efb
you can't fuck up anything, follow these steps:
- download rs.rar
- create a board named /rs/ in kusabax panel (if you want you may lock it)
- upload the extracted files of rs.rar in the root folder, so that dirs must not be created (for example rs.rar's inc/modules/rapidshare.php must go in the already existing /inc/modules/)
- run install.php which is located in the root folder (eg: http://www.diochan.com/install.php)
- select everything you want to install (tick install, not upgrade) and everysite you want to be added in /rs/
- delete install.php
- ?????
- profit
>> No. 1133 ID: b099e6
>>1130
does it work with hotfile and other hosting sites like that?Or just rapidshit?
>> No. 1137 ID: 03a2bc
>>1133
oh well, you can add hotfile if it's not available in the install
as far as i remember: rapidshare, megaupload, mediafire and 3-4 others are supported
>> No. 1140 ID: b099e6
>>1137
dear god that code is fucked up!Im afraid to touch it since i im not good with coding.

"IsoHunt" => "'IsoHunt', '#http://isohunt.com/torrent_details/\\\\d+/\\\\?tab=summary#', '#<title>([^\\\\|]*)#', '#<p><i><b>([^\\\\<]*)#', 'ih'"
>> No. 1142 ID: 03a2bc
>>1140
what's the matter?
>> No. 1145 ID: b099e6
>>1142
i have no idea how to make one for http://hotfile.com/ the lots of dashes and stuff make me think ill just fuck up...so yeah please add in an a future release.
>> No. 1149 ID: 7c5934
>>1140
>> No. 1158 ID: 0682e9
so any chance of some new hosts like hotfile.com etc?
>> No. 1159 ID: 7fe8cf
>>1158
go into the fucking database and add them
>> No. 1160 ID: 809aee
>>1159
maybe he cant
>> No. 1161 ID: 0682e9
>>1159
>>1160

yeah i know how to add them but the regular expression thing is just far far out of my league so i'd really like some help so support hotfile and any other popular host :)
>> No. 1162 ID: 0682e9
so guys any help? :)
>> No. 1163 ID: 0682e9
pleasssssssssssse
>> No. 1171 ID: 809aee
>>1162
im shure they will help you when they have time.I tried adding hotfile but i think i fucked up with the dashes because it doesnt work.
>> No. 1172 ID: 4b380e
>>1161 or anyone else
Please provide a list of the host-site you want to add, each with two example links.

I'll then add them to the installer/upgrader
>> No. 1173 ID: 0682e9
>>1172

wow thank you very much :)

hotfile.com
http://hotfile.com/dl/52449393/8d1177d/sameple-link1.rar.html
http://hotfile.com/dl/52449436/45353a2/sameple-link2.rar.html

multiupload.com
http://www.multiupload.com/KLMA68K8L6
http://www.multiupload.com/FV6IOPGC69

ifile.it
http://ifile.it/osawbkm/sameple-link1.rar
http://ifile.it/ih1tapj/sameple-link2.rar

depositfiles.com
http://depositfiles.com/files/15la1g0kt
http://depositfiles.com/files/yj3rdgbpg

uploading.com
http://uploading.com/files/855c6e2e/sameple-link1.rar/
http://uploading.com/files/87e7f867/sameple-link2.rar/
>> No. 1175 ID: 4b380e
>>1173
"HotFile" => "'HotFile', '#http://hotfile.com/dl/[^\\\\s<]*#', '#<title>.*: ([^<]*)#', '#<div class=\"arrow_down\"><strong>.*<strong>([^<]*)</strong>#', 'hf'", "MultiUpload" => "'MultiUpload', '#http://www.multiupload.com/[^\\\\s<]*#', '/font-size:19px; color:#000000;\">([^<]*)/', '/<font style=\"color:#666666;\">([^<]*)/', 'muu'", "iFile" => "'iFile', '#http://ifile.it/[^\\\\s<]*#', '#<span style=\"cursor: default; font-size: 90%; color: gray;\">([^\\\\t]*)#', '#\\\\t\\\\t(\\\\d+\\\\.\\\\d+[^\\\\t]*)#', 'if'", "DepositFiles" => "'DepositFiles', '#http://depositfiles.com/files/[^(\\\\s<)]*#', '#File name:[^>]*>([^<]*)#', '#File size:[^>]*>([^<]*)#', 'df'"/*, "Uploading" => "'Uploading', '#http://uploading.com/files/[^(\\\\s<)]*#', '##', '#File size:[^>]*>([^<]*)#', 'up'"



these lines must be added to install.php
unfortunately uploading.com changes its title for each language, so it's impossible to get the file name
the others should work

if you want to add directly the lines in the database here's the table

HotFile#http://hotfile.com/dl/[^\s<]*##<title>.*: ([^<]*)##<div class="arrow_down"><strong>.*<strong>([^<]*)...hf MultiUpload#http://www.multiupload.com/[^\s<]*#/font-size:19px; color:#000000;">([^<]*)//<font style="color:#666666;">([^<]*)/muu iFile#http://ifile.it/[^\s<]*##<span style="cursor: default; font-size: 90%; col...#\t\t(\d+\.\d+[^\t]*)#if DepositFiles#http://depositfiles.com/files/[^(\s<)]*##File name:[^>]*>([^<]*)##File size:[^>]*>([^<]*)#df

>> No. 1176 ID: 809aee
>>1130
i did this and i just got a normal image board i tried uploading the index.php to the /rs/ folder but my ftp gives me a error.
>> No. 1177 ID: 809aee
This is what i get:


Error:Critical file transfer error
Status:Starting upload of C:\Users\pc\Desktop\Site Stuff\rs\rs\index.php
Command:PASV
Response:227 Entering Passive Mode (217,23,13,208,129,117)
Command:STOR index.php
Response:553 Can't open that file: Permission denied
Error:Critical file transfer error
>> No. 1178 ID: 809aee
>>1177
i think i fixed it by gucking with the .htaccess and adding intex.php to it.
>> No. 1179 ID: 231501
so this scans all the boards and gets the links and archives them?
>> No. 1180 ID: 8a975a
any idea how to make this thing wider?The names of the files get squished.
>> No. 1182 ID: 6bc3cc
>>1176
>>1177
>>1178
>C:\Users\pc\Desktop\Site Stuff\rs\rs\index.php
doing it wrong
the index.php should be in /rs/ folder, not in /rs/rs folder
>> No. 1183 ID: 6bc3cc
>>1179
NO.
This adds new links as people post them.

>>1180
edit /dwoo/templates/rs_board_page.tpl
>> No. 1184 ID: 8a975a
>>1182
i know where it should be.The problem is with the host since it didint let me upload things to the /rs/ folder because apache fucked something up.Anyways its a great little hack!If you add more file hosts in the future it will be even better!
>> No. 1185 ID: 6bc3cc
>>1184
>more file hosts
such as?
>> No. 1186 ID: 0682e9
>>1175

h ii've added them to my install.php file but i'm getting this error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/install.php on line 20

here's my edited install.php file:

http://rapidshare.com/files/404914041/install.php
>> No. 1187 ID: 6bc3cc
>>1186
http://pastebin.com/

please use something like this to post it
I can't use rapidshare atm
>> No. 1188 ID: 0682e9
>>1187

http://pastebin.com/raw.php?i=9heBE0Xm

thank you
>> No. 1189 ID: 6bc3cc
>>1188
>'#<p><i><b>([^\\\\<]*)#', 'ih'"

add a comma

>'#<p><i><b>([^\\\\<]*)#', 'ih'",
>> No. 1190 ID: 0682e9
>>1189

tried that but i now get this error:

Warning: Unterminated comment starting line 23 in /var/www/install.php on line 23

Parse error: syntax error, unexpected $end, expecting ')' in /var/www/install.php on line 23
>> No. 1191 ID: 0682e9
any chance you can just edit your install.php with the new hosts are upload it :)
>> No. 1194 ID: 0682e9
right i've managed to get this to install by deleting depositfiles from install.php as there seems to be a problem with that

i've also tested the 5 hosts to see if they work:

hotfile.com = works perfect

multiupload.com = works perfect

ifile.it = detects links but show no file name on /rs/

depositfiles.com = wouldn't work/install with install.php

uploading.com = didn't detect links or show on /rs/ at all
>> No. 1195 ID: 0682e9
>>1183

what bit do we edit?
>> No. 1200 ID: b865ed
>>1195
<td class="postblock" align="center" width="400px">File</td>

Thats what i did.
>> No. 1201 ID: efa965
>>1200
><td class="postblock" align="center" width="400px">File</td>
html syntax disapprove:

<td class="postblock" style="text-align: center; width: 400px">File</td>
>> No. 1202 ID: 0682e9
>>1194

ideas? :)
>> No. 1203 ID: eff3fd
>>1202
yeah sorry, exams keep me busy
wait a second, I'm checking them right now
>> No. 1204 ID: 0682e9
>>1203

thank you so much :)
>> No. 1205 ID: eff3fd
>>1204
I'm having issues with ifile.it... still working
>> No. 1206 ID: eff3fd
Ok, I'm too noob to solve the problem with ifile

http://pastebin.com/jAp6tmSq

This is the install.php, remember to delete the old rows in rs_sites before reinstalling

let me know for any bug / solution
>> No. 1207 ID: 0682e9
>>1206

just tested all 10 hosts (not tested the torrent sites) and all 9 work other then ifile.it

hotfile.com = works perfect

multiupload.com = works perfect

ifile.it = not detecting the links at all

depositfiles.com = works perfect

uploading.com = works perfect

zshare.net = works perfect

sendspace.com = works perfect

mediafire.com = works perfect

megaupload.com = works perfect

rapidshare.com = works perfect

thank you very much :)
>> No. 1269 ID: 38535f
any idea how to add Pirate Bay and Demonoid?
>> No. 1270 ID: 2a64c5
either learn to regex or wait until I do it.

I will do it (if I will remember it) on Monday, adding a form to add them easily.
>> No. 1271 ID: 38535f
>>1270
Alrighty thanks.
>> No. 1276 ID: 2a64c5
oh btw I like to see chans where my /rs/ module is active, and I'd love to know bugs and such things, so please link your site and report bugs / fixes
>> No. 1278 ID: 38535f
>>1276
http://rockstararmy.com/rs/index.php

Not much in it yet since it's not released yet, but we'll let you know.
>> No. 1280 ID: 88bff3
>>1271
http://pastebin.com/iS1QHGWt
this is the new install.php, put it in the root folder and execute it.
I wasn't able to work on piratebay, since here it's blocked, so you should provide me a couple of raw pages in order to make me work on them.

if you want you can use the highly insecure form by pasting this code in it (for demonoid):
'Demonoid', '#http://www.demonoid.com/files/details/\\\\d+/\\\\d+/#', '#<title>([^<]*) - Demonoid#', '#Size:</b> ([^<]*)#', 'dm'


That's it for now.
>> No. 1288 ID: 38535f
>>1280
Here is the description/article on the torrent:
http://thepiratebay.org/torrent/5628169/ADOBE_PHOTOSHOP_CS5_EXTENDED_EDITION_%5Bthethingy%5D

Here is the direct download to a torrent:
http://torrents.thepiratebay.org/5628169/ADOBE_PHOTOSHOP_CS5_EXTENDED_EDITION_%5Bthethingy%5D.5628169.TPB.torrent


Also thanks again for the update :3
>> No. 1290 ID: 02ae8e
I can't reach torrentbay, you need to paste the html code somewhere
>> No. 1438 ID: d0f14b
SO MUCH WIN!
>> No. 1446 ID: d0f14b
UPDATE THE SCRIPT PLS!

or someone 1337!
>> No. 1490 ID: 075f87
Installed the /rs/ board without a hitch. However, it's not adding DDL links when they are being posted/submitted and nothing appears to be going into the databases. What do?
>> No. 1503 ID: d98036
>>1490
the regex from rapidshare links is fucked, every other shit works

kaiserchan.net/rs/

Why dont Script-OP Updates the thingy?
[Return] [Entire Thread] [Last 50 posts] [First 100 posts]


Delete post []
Password  
Report post
Reason