Advertisement
bejiitas_wrath

4chan global config file.

Apr 27th, 2025
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 18.75 KB | None | 0 0
  1. [Config - Global]
  2.  
  3. ; Version suffix for production JS
  4. ; JS_VERSION is for mod.js and janitor.js
  5. JS_VERSION = 1057
  6. JS_VERSION_CORE = 1123
  7. JS_VERSION_EXT = 1178
  8. JS_VERSION_CATALOG = 1024
  9. JS_VERSION_PAINTER = 1050
  10.  
  11. ; Version suffix for production CSS
  12. CSS_VERSION = 715
  13. CSS_VERSION_CATALOG = 705
  14. CSS_VERSION_FLAGS = 690
  15. CSS_VERSION_PAINTER = 619
  16. ; This should be overriden on a per-board basis
  17. CSS_VERSION_BOARD_FLAGS = 1
  18.  
  19. ; Version suffix for /test/ CSS and JS
  20. CSS_VERSION_TEST = 100595
  21. JS_VERSION_TEST = 100876
  22.  
  23. ; Divs where we can embed stuff
  24. EMBEDEARLY =
  25. EMBEDLATE =
  26. EMBED_INDEX =
  27.  
  28. ; Lockdown
  29. LOCKDOWN = no
  30. LOCKDOWN_MSG = Performing site maintenance. Try again in a little while.
  31.  
  32. ; Temporary setting to toggle mobile adglare ads
  33. AD_ADGLARE_MOBILE = yes
  34.  
  35. ; Enable archiving of expired posts?
  36. ENABLE_ARCHIVE = yes
  37. ; Archived threads max age in hours for archive trimming. 0 disables trimming.
  38. ARCHIVE_MAX_AGE = 276
  39. ; Minimum delay between archive list rebuilds, in seconds
  40. ARCHIVE_REBUILD_DELAY = 600
  41.  
  42. ; Enable CAPTCHA?
  43. CAPTCHA = yes
  44. CAPTCHA_TWISTER = yes
  45. ; Allow credit allocation for captcha bypassing.
  46. CAPTCHA_ALLOW_BYPASS = yes
  47.  
  48. ; Cap and delete old replies in undead stickies
  49. ; Has to be > 1
  50. STICKY_CAP = 1000
  51. ; Auto-archive threads after X replies, 0 to disable
  52. AUTOARCHIVE_CAP = 0
  53.  
  54. ; Enable pre-upload CAPTCHA?
  55. PREUPLOAD_CAPTCHA = no
  56. NOSCRIPT_CAPTCHA_ONLY = no
  57.  
  58. ; Memcached
  59. MEMCACHED_HOST = localhost
  60. MEMCACHED_PORT = 11211
  61.  
  62. ; Pre-upload captcha token expiration (seconds)
  63. CAPTCHA_TOKEN_TTL = 240
  64.  
  65. ; CloudFlare API
  66. CLOUDFLARE_PURGE_ON_DEL = yes
  67. CLOUDFLARE_EMAIL = [email protected]
  68. CLOUDFLARE_ZONE  = 4chan.org
  69. CLOUDFLARE_ZONE_2 = 4cdn.org
  70.  
  71. ; Detect and handle embedded data in file uploads:
  72. ; - Rejects PNGs and JPGs.
  73. ; - Removes embedded data from GIFs, modifying the original file.
  74. CLEANUP_UPLOADS = yes
  75.  
  76. ; Stats logging
  77. STATS_USER_JS = no
  78.  
  79. ; Various enhancements
  80. NEW_HTML = yes
  81. CODE_TAGS = no
  82. SJIS_TAGS = no
  83. NEW_CAPTCHA = no
  84. META_BOARD = no
  85. CAN_REPORT_POSTS = yes
  86. ENABLE_CATALOG = yes
  87. ; TRIPCODE_CHARSET = CP932
  88.  
  89. ; Upload board like /f/
  90. UPLOAD_BOARD = no
  91.  
  92. ; rebuildd stuff
  93. STATIC_REBUILD = no
  94. IS_REBUILDD = no
  95. ; how many rebuilds before we also rebuild the catalog
  96. CATALOG_DAEMON_REBUILD_INTERVAL = 6
  97.  
  98. ; JSON Stuff
  99. ENABLE_JSON = yes
  100. ENABLE_JSON_INDEXES = yes
  101. ENABLE_JSON_CATALOG = yes
  102. ENABLE_JSON_THREADS = yes
  103.  
  104. ; number of posts to include in partial JSON files. 0 to disable.
  105. JSON_TAIL_SIZE = 0
  106.  
  107. ; rebuildd timers
  108. MAX_REBUILD_TIMER = 8
  109. MIN_REBUILD_TIMER = 2
  110.  
  111. ; admin and janitor JS extension filenames
  112. ADMIN_JS_PATH = 9a9f422e4fc10c549b9e2c6519433d76
  113. JANITOR_JS_PATH = dbb7da08ac5a75139c3cd257870ae466
  114.  
  115. ; Block posting if ban request pending?
  116. ; BR Detection (huehuehuehue)
  117. BLOCK_ON_BR = yes
  118. ; MYSQL DATE_SUB(NOW(), --> BLOCK_ON_BR_LEN <-- )
  119. BLOCK_ON_BR_LEN = INTERVAL 15 MINUTE
  120.  
  121. ; 4chan pass stuff
  122. ; pass timeout in seconds
  123. PASS_TIMEOUT = 1800
  124.  
  125. ; Text-only mode
  126. TEXT_ONLY = no
  127. ; Allow thread OPs to have files when in TEXT_ONLY mode
  128. TEXT_ONLY_ALLOW_OP = no
  129. ; Permasage threads after X hours. 0 to disable.
  130. PERMASAGE_HOURS = 0
  131. ; Regex for comment validation.
  132. COM_REGEX = no
  133.  
  134. ; Use inference server to detect NSFW content.
  135. ; 0 = disabled, 1 = OPs only, 2 = All posts
  136. TENSORCHAN_MODE = 0
  137. ; Input image dimensions
  138. TENSORCHAN_DIM = 300
  139. ; Threshold for blocking (float 0.5 to 1.0)
  140. TENSORCHAN_THRES = 0.92
  141. ; Don't block, only log
  142. TENSORCHAN_LOG_ONLY = yes
  143.  
  144. [Limits]
  145.  
  146. ; Maximum number of entries before oldest thread is pruned
  147. LOG_MAX = 700
  148. ; Maximum number of pages (overrides LOG_MAX; 0 = disable)
  149. PAGE_MAX = 10
  150. ; Threads per page
  151. DEF_PAGES = 15
  152. ; Number of bumps
  153. MAX_RES = 300
  154. ; Maximum number of replies shown to a thread on index pages
  155. REPLIES_SHOWN = 5
  156. ; Maximum number of lines shown on index pages
  157. MAX_LINES_SHOWN = 15
  158. ; Maximum number of lines allowed in a post
  159. MAX_LINES = 70
  160.  
  161. ; Maximum comment length
  162. MAX_COM_CHARS = 2000
  163. ; For mods+
  164. MAX_COM_CHARS_AUTHED = 10000
  165.  
  166. ; Maximum amount of image replies in a thread
  167. MAX_IMGRES = 150
  168. ; Maximum upload size in KB
  169. MAX_KB = 4096
  170. ; Minimum dimensions of an image
  171. MIN_W = 1
  172. MIN_H = 1
  173. ; Maximum width or height of an image (MUST be 11000 or less)
  174. MAX_DIMENSION = 10000
  175. ; Only allow gifs
  176. GIF_ONLY = no
  177.  
  178. ; Resize images for mobile
  179. MOBILE_IMG_RESIZE = no
  180.  
  181. ; Enable webm support
  182. ENABLE_WEBM = yes
  183. ; Allow audio streams in webm
  184. ENABLE_WEBM_AUDIO = no
  185. ; Maximum width or height of a video stream
  186. MAX_WEBM_DIMENSION = 2048
  187. ; Maximum duration of a video stream in seconds
  188. MAX_WEBM_DURATION = 120
  189. ; Maximum filesize for webm files. Must be <= MAX_KB
  190. MAX_WEBM_FILESIZE = 4096
  191.  
  192. ; maximum number of threads per user, per board
  193. MAX_USER_THREADS = 5
  194. ; period for user thread limit, in hours
  195. MAX_USER_THREADS_PERIOD = 24
  196.  
  197. ; maximum number of reposted live reply images, 0 for no limit
  198. MAX_IMG_REPOST_COUNT = 0
  199.  
  200. ; Seconds between posts
  201. RENZOKU = 60
  202. ; Seconds between image posts
  203. RENZOKU2 = 60
  204. ; Seconds between intra thread posts
  205. RENZOKU_INTRA = 60
  206. ; Seconds between intra thread image posts
  207. RENZOKU2_INTRA = 60
  208. ; Seconds between new threads
  209. RENZOKU3 = 600
  210.  
  211. ; Seconds between duplicate comments and images
  212. ; (for shared IPs)
  213. RENZOKU_DUPE = 300
  214. ; Seconds between sage posts
  215. RENZOKU_SAGE = 120
  216. ; Seconds before you can delete a new post
  217. RENZOKU_DEL = 60
  218. ; Seconds after which you cannot delete a post
  219. RENZOKU_DEL_CANT_AFTER = 1800
  220. ; Number of posts you can delete per hour
  221. RENZOKU_DEL_HOURLY = 2
  222. ; Number of posts you can delete per day
  223. RENZOKU_DEL_DAILY = 10
  224.  
  225. ; Number of reports you can make per hour (was 30 then 50)
  226. RENZOKU_REP_HOURLY = 30
  227. ; Number of reports you can make per day (was 80 then 100)
  228. RENZOKU_REP_DAILY = 80
  229. ; FIXME: unused
  230. RENZOKU_REP_DAILY_SOFT = 15
  231.  
  232. ; Sage OPs replies if the length since their last post is too short
  233. RENZOKU_OP = yes
  234. ; Time in seconds after thread creation during which the OP cannot bump his thread
  235. RENZOKU_OP_TIME = 900
  236. ; OP can only bump his thread every RENZOKU_OP_TIME2 seconds
  237. RENZOKU_OP_TIME2 = 300
  238.  
  239. ; Seconds between any request from the same IP (currently unused)
  240. RENZOKU_REQ = 5
  241.  
  242. ; Anti flood interval in minutes for thread creation
  243. ANTI_FLOOD_INTERVAL = 5
  244. ; Anti flood threshold for threads. If the number of recent suspicous threads is >= this value, the post will be blocked
  245. ANTI_FLOOD_THRES = 3
  246. ; Same as above but for replies, per thread. FIXME: ALT no longer used
  247. ANTI_FLOOD_INTERVAL_REP = 6
  248. ANTI_FLOOD_THRES_REP = 3
  249. ANTI_FLOOD_INTERVAL_REP_ALT = 10
  250. ANTI_FLOOD_THRES_REP_ALT = 6
  251. ; Same as above but for the whole board
  252. ANTI_FLOOD_INTERVAL_GLOBAL = 5
  253. ANTI_FLOOD_THRES_GLOBAL = 7
  254. ; Same as above but for the whole site
  255. ANTI_FLOOD_INTERVAL_SITE = 3
  256. ANTI_FLOOD_THRES_SITE = 30
  257. ; Secondary anti flood interval and threshold for threads (only the IP's posting history and cookie used here)
  258. ANTI_FLOOD_INTERVAL_RAW = 3
  259. ANTI_FLOOD_THRES_RAW = 5
  260.  
  261. ; Anti flood interval in minutes and threshold for replies per thread
  262. ANTIFLOOD_INTERVAL_REPLY = 5
  263. ANTIFLOOD_THRES_REPLY = 6
  264. ; Anti flood interval in minutes and threshold for thread creation
  265. ANTIFLOOD_INTERVAL_OP = 5
  266. ANTIFLOOD_THRES_OP = 4
  267.  
  268. ; reCAPTCHA failures
  269. ;CAPTCHA_FAIL_HOURLY = 15
  270. ;CAPTCHA_FAIL_DAILY  = 45
  271. CAPTCHA_FAIL_HOURLY = 60
  272. CAPTCHA_FAIL_DAILY  = 120
  273.  
  274. ; number of times a person can fail login AND FLOOD CHECKS before being banned
  275. LOGIN_FAIL_HOURLY = 10
  276.  
  277. ; Refuse text only posts (yes = refuse them, no = allow them!)
  278. NO_TEXTONLY = yes
  279.  
  280. ; Remove the threads least recently replied to
  281. EXPIRE_NEGLECTED = yes
  282.  
  283. ; New threads require subject lines
  284. REQUIRE_SUBJECT = no
  285.  
  286. ; Reduce occurrence of doubles by re-inserting once
  287. SKIP_DOUBLES = no
  288.  
  289. ; Don't allow user deletion of threads
  290. NO_DELETE_OP = no
  291. ; Don't allow user deletion of replies
  292. NO_DELETE_REPLY = no
  293.  
  294. [General Locations]
  295.  
  296. ; The default value for BOARD_DIR is automatically set by config.php.
  297. ; it can be overridden, but it can't be defined as any useful value in this file.
  298. ; Directory name of this board relative to DOCUMENT_ROOT
  299. ; e.g. "b", "e", "hr"
  300. BOARD_DIR =
  301.  
  302. ; The title of the image board
  303. TITLE = Yotsuba Image Board
  304.  
  305. ; The board's category
  306. CATEGORY =
  307.  
  308. ; Table for this board's posts
  309. SQLLOG = {{BOARD_DIR}}
  310.  
  311. ; Where is yotsuba/?
  312. YOTSUBA_DIR = /www/global/yotsuba/
  313.  
  314. ; Paths of header and fooder
  315. NAV_TXT = /www/global/yotsuba/header.txt
  316. NAV2_TXT = /www/global/yotsuba/footer.txt
  317. NAV3_TXT = /www/global/yotsuba/header-sys.txt
  318.  
  319. ; Text to be shown at the top of each board
  320. GLOBAL_MSG_FILE = /www/global/yotsuba/globalmsg.txt
  321. ; Text to be shown to the right of board rules
  322. DONATE =
  323. ; Text to be shown to the right of board rules, on index pages and catalog only
  324. DONATE_INDEX =
  325.  
  326. ; Paths of saltfile for secure tripcodes
  327. SALTFILE = /www/keys/legacy.salt
  328.  
  329. ; Main domain used for linking to non-board pages
  330. MAIN_DOMAIN = 4chan.org
  331.  
  332. ; Server locations
  333. STATIC_SERVER = //s.4cdn.org/
  334. DATA_SERVER = //boards.4chan.org/
  335. PHP_SERVER = https://sys.4chan.org/
  336. IMG_SERVER = //i.4cdn.org/
  337.  
  338. ; internal folder locations
  339. BOARDS_ROOT = /www/4chan.org/web/boards/
  340. DATA_ROOT = /www/4chan.org/web/boards/{{BOARD_DIR}}/
  341. IMG_ROOT = /www/4chan.org/web/images/{{BOARD_DIR}}/
  342. THUMB_ROOT = /www/4chan.org/web/thumbs/{{BOARD_DIR}}/
  343. SYS_ROOT = /www/4chan.org/web/sys
  344. BANTHUMB_ROOT = /www/4chan.org/web/images/bans/thumb/
  345. BANIMG_ROOT = /www/4chan.org/web/images/bans/src/
  346.  
  347. INDEX_DIR = {{DATA_ROOT}}
  348. IMG_DIR = {{IMG_ROOT}}
  349. IMG_DIR2 = {{IMG_SERVER}}{{BOARD_DIR}}/
  350. THUMB_DIR = {{THUMB_ROOT}}
  351. RES_DIR = {{DATA_ROOT}}thread/
  352. BANTHUMB_DIR = {{BANTHUMB_ROOT}}{{BOARD_DIR}}/
  353.  
  354. ; link to /image/ (for closed.gif, filedeleted, etc)
  355. STATIC_IMG_DIR2 = {{STATIC_SERVER}}image/
  356.  
  357. ; image URLs, note RES_DIR2 is not an absolute URL atm
  358. THUMB_DIR2_PART = i.4cdn.org/{{BOARD_DIR}}/
  359. THUMB_DIR2 = //{{THUMB_DIR2_PART}}
  360. RES_DIR2 = thread/
  361.  
  362. ; Name of the script
  363. SELF_PATH = imgboard.php
  364. ; Name of the first index page in a url
  365. SELF_PATH2 = ./
  366. ; the extension of saved HTML files
  367. PHP_EXT = .html
  368.  
  369. ; the suffix of HTML files in the URLs
  370. ; might be nothing if there's rewrites
  371. PHP_EXT2 =
  372.  
  373. ; Path to first index page
  374. SELF_PATH2_FILE = {{DATA_ROOT}}imgboard.html
  375. ; Path to URL for posting
  376. SELF_PATH_POST = {{PHP_SERVER}}{{BOARD_DIR}}/post
  377. SELF_PATH_DEL = {{PHP_SERVER}}{{BOARD_DIR}}/delete
  378.  
  379. ; URL to imgboard.php
  380. SELF_PATH_ABS = {{PHP_SERVER}}{{BOARD_DIR}}/{{SELF_PATH}}
  381. SELF_PATH_DEL = {{PHP_SERVER}}{{BOARD_DIR}}/delete
  382. ; URL to index.html
  383. SELF_PATH2_ABS = {{DATA_SERVER}}{{BOARD_DIR}}/{{SELF_PATH2}}
  384. ; URL to /catalog
  385. PHP_CATA_ABS = {{DATA_SERVER}}{{BOARD_DIR}}/catalog
  386.  
  387. ; link to Home
  388. HOME = ../
  389.  
  390. [Features and related config]
  391.  
  392. ; Moderator pass
  393. ADMIN_PASS = DISHSIS
  394. ; Janitor pass
  395. ADMIN_PASS2 = BISCUITS
  396.  
  397. ; Display title (0: no image, 1: random image from sql, 2: random image via TITLEIMG, click for different image)
  398. TITLE_IMAGE_TYPE = 1
  399. ; URL of title image
  400. TITLEIMG = //sys.4chan.org/image/title/rid.php
  401.  
  402. ; Show blotter (including show/hide controls)
  403. SHOW_BLOTTER = yes
  404.  
  405. ; Enable spoilers
  406. SPOILERS = no
  407. ; URL of thumbnail for spoilers
  408. SPOILER_THUMB = {{STATIC_IMG_DIR2}}spoiler.png
  409. ; How many custom spoilers?
  410. SPOILER_NUM = 0
  411.  
  412. ; Enable thumbnailing
  413. USE_THUMB = yes
  414. ; Images bigger than these dimensions will be thumbnailed
  415. MAX_W = 250
  416. MAX_H = 250
  417. ; Reply images bigger than these dimensions will be thumbnailed
  418. MAXR_W = 125
  419. MAXR_H = 125
  420.  
  421. ; Enable wordfilters
  422. WORD_FILT = yes
  423.  
  424. ; HTML Purifier whitelist string. See HTML Purifier doc.
  425. HTML_WHITELIST = a[href|target],video[autoplay|controls|height|loop|muted|src|width],div,br,p,s,strong,em,span,b,u,i,li,ul,ol,img[src|alt|width|height],iframe[width|height|src|frameborder|allowfullscreen|scrolling],*[style|title|class]
  426.  
  427. ; HTML Purifier iframe src whitelist. Regex. See HTML Purifier doc.
  428. HTML_IFRAME_WHITELIST = %^(https?:)?//www\.youtube(-nocookie)?\.com/embed/%
  429.  
  430. ; Pass-only boards
  431. PASS_POST_ONLY = no
  432.  
  433. ; Enable recording of seconds in the date (changing this does not affect old posts)
  434. SHOW_SECONDS = yes
  435.  
  436. ; Show number of unique IPs in the post log
  437. SHOW_UNIQUES = no
  438.  
  439. ; Show number of unique posters inside threads
  440. SHOW_THREAD_UNIQUES = no
  441.  
  442. ; Enable fortune-teller (use #fortune as tripcode)
  443. FORTUNE_TRIP = no
  444.  
  445. ; Hide name and subject field
  446. FORCED_ANON = no
  447.  
  448. ; Enable EXIF parsing during post (needs /www/global/bin/exiftags)
  449. ENABLE_EXIF = no
  450.  
  451. ; Allow PDF upload and thumbnailing (needs /usr/local/bin/gs)
  452. ENABLE_PDF = no
  453.  
  454. ; Show poster's unique ID based on IP and date, if Options field is blank
  455. DISP_ID = no
  456.  
  457. ; If DISP_ID is enabled, stop ID from being Heaven when sage is used
  458. DISP_ID_NO_HEAVEN = no
  459.  
  460. ; If DISP_ID is enabled, make IDs per-thread instead of per-board?
  461. DISP_ID_PER_THREAD = yes
  462.  
  463. ; Show random IDs instead of ones based on IP
  464. DISP_ID_RANDOM = no
  465.  
  466. ; Save X-Forwarded-For proxies in xff table
  467. SAVE_XFF = no
  468.  
  469. ; Trick people who post 'sage' in every field by removing it from the Options
  470. SAGE_FILTER = no
  471.  
  472. ; Default to burichan.css (for worksafe boards)
  473. DEFAULT_BURICHAN = no
  474.  
  475. ; Plugin system (testing)
  476. PLUGIN_DIR = /www/global/yotsuba/plugins/
  477. ; Log rapidshare links
  478. ;PLUGINS = filedumpidx
  479.  
  480. ; Save index.rss file
  481. USE_RSS = yes
  482.  
  483. ; Put party hats on images :)
  484. PARTY = no
  485. ;PARTY_IMAGE = partyhat.gif
  486. PARTY_IMAGE = xmashat.gif
  487.  
  488. ; Event CSS. Name must correspond to a stylesheet file.
  489. ;CSS_EVENT_NAME = tomorrow
  490. CSS_EVENT_VERSION = 1
  491.  
  492. ; April 2016 cfg
  493. ;CSS_FORCE = //s.4cdn.org/css/yotsubluenew.647.css
  494. ;CSS_MATERIAL = yes
  495.  
  496. ; Force comment text
  497. FORCE_COM = no
  498. FORCE_COM_TEXT =
  499.  
  500. ; Show country flags next to names
  501. SHOW_COUNTRY_FLAGS = no
  502.  
  503. ; Alternate trolling flags for above
  504. ; Only works on /pol/, will break other boards. Requires SHOW_COUNTRY_FLAGS.
  505. USE_TROLL_FLAGS = no
  506.  
  507. ; User selectable flags. Will break boards without the board_flag table column.
  508. ENABLE_BOARD_FLAGS = no
  509.  
  510. ; Enable janitor board features
  511. JANITOR_BOARD = no
  512.  
  513.  
  514. ; Enable JS oekaki app
  515. ENABLE_PAINTERJS = no
  516. ; Default dimensions in pixels for JS oekaki app
  517. PAINTERJS_DIMS = 400
  518. ; Allow oekaki replays
  519. ENABLE_OEKAKI_REPLAYS = no
  520.  
  521. ; Enable "Ban entire thread" feature in the ban panel
  522. THREAD_BANNING = yes
  523.  
  524. ; Prevent redundant updating of imgboard.html
  525. ; ('no' or number of seconds to let imgboard.html get out of date during a flood)
  526. UPDATE_THROTTLING = no
  527.  
  528. ; Auto-deletion limits
  529. REPORTS_AUTODELETE_ENABLED = no
  530. ; Delete a post after this many reports
  531. REPORTS_AUTODELETE = 50
  532. ; Delete a post after this many illegal reports
  533. REPORTS_AUTODELETE_ILLEGAL = 25
  534.  
  535. ; Maximum number of illegal reports one IP can make (FIXME: unused)
  536. REPORTS_MAX_ILLEGAL = 25
  537. ; Maximum number of reports an IP can make (FIXME: unused)
  538. REPORTS_MAX = 100
  539. ; Note there is a hardcoded limit of 1 minute between reports
  540.  
  541. ; Text to go inside of the meta-robots tag
  542. META_ROBOTS = noarchive
  543. ; Text to go inside of the meta-description tag
  544. META_DESCRIPTION =
  545. ; Text to go inside of the meta-keywords tag
  546. META_KEYWORDS =
  547.  
  548. ; log rapidshare links to rapidsearch queue
  549. RAPIDSEARCH_LOGGING = no
  550.  
  551. ; Generatic static gzipped HTML files
  552. USE_GZIP = yes
  553.  
  554. ; URL of the favicon to link to
  555. ; No rel=icon is emitted if not defined
  556. ;FAVICON = /favicon.ico
  557.  
  558. ; whether to forward HTML deletion/rebuild
  559. ; to a php process on the static server
  560. ; 'no' if not, the hostname of the server if yes
  561. REMOTE_HTML_HOST = no
  562.  
  563. ; whether to load jsMath
  564. JSMATH = no
  565.  
  566. ; Shouldn't this be in the database config file and not here?
  567. ; RS database details
  568. ;RS_HOST = db2.int
  569. ;RS_USER = rs
  570. ;RS_PASS = f00n3rs1
  571. ;RS_DB = rs
  572.  
  573. ; Record posts to post_log
  574. RECORD_POSTS = no
  575.  
  576. ; is test
  577. TEST_BOARD = no
  578.  
  579. ; where xhprof is
  580. XHPROF_ROOT = /www/php_xhprof
  581.  
  582. ; Strip EXIF tags from images
  583. ; for privacy, but changes MD5s!
  584. STRIP_EXIF = yes
  585.  
  586. ; Strip EXIF tags from images when capcode is active
  587. STRIP_EXIF_ON_CAPCODE = yes
  588.  
  589. ; Strip tripcodes from names
  590. STRIP_TRIPCODE = no
  591.  
  592. ; Strip email addresses (sage still works)
  593. STRIP_EMAILS = no
  594.  
  595. ; le reddit mode XD
  596. UPVOTES = no
  597.  
  598. USE_SRC_CGI = no
  599. SORT_NATURAL = no
  600. PROFILING = no
  601.  
  602. ; show last digit of no twice
  603. FAKE_DOUBLES = no
  604.  
  605. ; Allow rolling of dice
  606. DICE_ROLL = no
  607.  
  608. ; Allow text markup for OPs
  609. OP_MARKUP = no
  610.  
  611. [Advertisements]
  612.  
  613. ; Show plea if ads are blocked?
  614. AD_PLEA = yes
  615. AD_PLEA_TEXT = Please <a class="aplnk" href="//www.4chan.org/news?all#109" target="_blank">support 4chan</a> by disabling your ad blocker on *.4chan.org/*, <a class="aplnk" href="https://www.4chan.org/advertise?selfserve" target="_blank">purchasing a self-serve ad</a>, or <a class="aplnk" href="https://www.4chan.org/pass" target="_blank">buying a 4chan Pass</a>.
  616.  
  617. ; Ad tag for archives
  618. ARCHIVE_AD_TAG = <!-- BEGIN TAG - HEAD -->  <script type="text/javascript">    /*<![CDATA[*/    if(!(window.EpmadsConfig && window.EpmadsConfig.ads)) window.EpmadsConfig = {ads:[]};    EpmadsConfig.ads.push({        epmads_key:"db1dd151ba547f5217d4ab86336c88b8",        epmads_channel: "",        epmads_code_format:"ads-async.js",        epmads_click:"",        epmads_custom_params:{},        epmads_target_id:"epmads-db1dd151ba547f5217d4ab86336c88b8"    });    (function () {        var sc = document.createElement("script");        sc.type = "text/javascript";        sc.async = true;        sc.src = (location.protocol == "https:" ? "https:" : "http:") + "//www.adspleen.com\/js\/show_ads_epmads.js?pubId=26899";        var s = document.getElementsByTagName("script")[0];        s.parentNode.insertBefore(sc, s);    })();    /*]]>*/  </script>  <!-- END TAG - HEAD -->  <!-- BEGIN TAG - BODY -->  <div id="epmads-db1dd151ba547f5217d4ab86336c88b8"></div>  <!-- END TAG - BODY -->
  619.  
  620. ; Div to embed ad code in head (JavaScript)
  621. AD_EMBEDEARLY =
  622.  
  623. ; Location of file for anti adblock js tag
  624. AD_ADBLOCK_TEXT =
  625. ;AD_ADBLOCK_TEXT =
  626.  
  627. ; Inter thread ads on index pages
  628. AD_INTERTHREAD_ENABLED = no
  629. AD_INTERTHREAD_TAG = <div class="jla-it"><script type="text/javascript" src="//v.4chan.org/bbs.php"></script><div class="jla-it-p">Advertisement</div></div>
  630.  
  631. ; Show top ad (728x90)
  632. AD_TOP_ENABLED = no
  633. ; Table name for top ad
  634. AD_TOP_TABLE =
  635. ; Location of file for top ad (overrides table)
  636. AD_TOP_TEXT =
  637.  
  638. ; Plea for top ad
  639. ;AD_TOP_PLEA = <div class="ad-plea ad-plea-top jlist-link">[Ads] <a href="https://jlist.com/4chan" target="_blank" title="Ads">Huge black Friday sale at daily list, Oniichan!</a></div>
  640. AD_TOP_PLEA =
  641.  
  642. ; Show middle ad (468x60)
  643. AD_MIDDLE_ENABLED = no
  644. ; Table name for middle ad
  645. AD_MIDDLE_TABLE =
  646. ; Location of file for middle ad (overrides table)
  647. AD_MIDDLE_TEXT =
  648. ; Plea for middle ad
  649. AD_MIDDLE_PLEA =
  650.  
  651. ; Show top ad (728x90)
  652. AD_BOTTOM_ENABLED = no
  653. ; Table name for bottom ad
  654. AD_BOTTOM_TABLE =
  655. ; Location of file for bottom ad (overrides table)
  656. AD_BOTTOM_TEXT =
  657. ; Plea for bottom ad
  658. AD_BOTTOM_PLEA = <div class="ad-plea ad-plea-bottom">[<a href="https://www.4chan.org/advertise?selfserve" target="_blank" title="4chan Self-Serve Ads">Advertise on 4chan</a>]</div>
  659.  
  660. FIXED_LEFT_AD = no
  661. FIXED_RIGHT_AD = no
  662. THREAD_AD = no
  663.  
  664. RTA = no
  665.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement