Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
6fa95ff7
Commit
6fa95ff7
authored
Jul 16, 2022
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated TODO
parent
7e39f071
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
TODO.txt
TODO.txt
+1
-1
class-post_types.php
includes/class-post_types.php
+3
-3
sexhackme.php
sexhackme.php
+1
-1
No files found.
TODO.txt
View file @
6fa95ff7
...
@@ -23,7 +23,7 @@ based on the ideas i planned for www.sexhack.me:
...
@@ -23,7 +23,7 @@ based on the ideas i planned for www.sexhack.me:
- Version 0.3.0:
- Version 0.3.0:
* Remove dependency on Paid Member Subscription plugin, reimplement membership internally
* Remove dependency on Paid Member Subscription plugin, reimplement membership internally
Future developement
:
- Version 1.0.0
:
* Write new smartcontract for automation of instant and scheduled payout to models
* Write new smartcontract for automation of instant and scheduled payout to models
* Write new NFTs login system, remove Unlock Protocol dependency
* Write new NFTs login system, remove Unlock Protocol dependency
* More social features
* More social features
...
...
includes/class-post_types.php
View file @
6fa95ff7
...
@@ -95,9 +95,9 @@ if(!class_exists('SH_PostTypes')) {
...
@@ -95,9 +95,9 @@ if(!class_exists('SH_PostTypes')) {
$DEFAULTSLUG
=
get_option
(
'sexhack_gallery_slug'
,
'v'
);
$DEFAULTSLUG
=
get_option
(
'sexhack_gallery_slug'
,
'v'
);
$projects_structure
=
'/'
.
$DEFAULTSLUG
.
'/%wooprod%/'
;
$projects_structure
=
'/'
.
$DEFAULTSLUG
.
'/%wooprod%/'
;
$rules
=
$wp_rewrite
->
wp_rewrite_rules
();
$rules
=
$wp_rewrite
->
wp_rewrite_rules
();
if
(
array_key_exists
(
$DEFAULTSLUG
.
'/([^/]+)/?$'
,
$rules
))
{
if
(
!
array_key_exists
(
$DEFAULTSLUG
.
'/([^/]+)/?$'
,
$rules
))
{
sexhack_log
(
"REWRITE: rules OK: "
.
$DEFAULTSLUG
.
'/([^/]+)/?$ => '
.
$rules
[
$DEFAULTSLUG
.
'/([^/]+)/?$'
]);
//
sexhack_log("REWRITE: rules OK: ".$DEFAULTSLUG.'/([^/]+)/?$ => '.$rules[$DEFAULTSLUG.'/([^/]+)/?$']);
}
else
{
//
} else {
sexhack_log
(
"REWRITE: Need to add and flush our rules!"
);
sexhack_log
(
"REWRITE: Need to add and flush our rules!"
);
$wp_rewrite
->
add_rewrite_tag
(
"%wooprod%"
,
'([^/]+)'
,
"post_type=sexhack_video&wooprod="
);
$wp_rewrite
->
add_rewrite_tag
(
"%wooprod%"
,
'([^/]+)'
,
"post_type=sexhack_video&wooprod="
);
$wp_rewrite
->
add_rewrite_tag
(
"%videoaccess%"
,
'([^/]+)'
,
"videoaccess="
);
$wp_rewrite
->
add_rewrite_tag
(
"%videoaccess%"
,
'([^/]+)'
,
"videoaccess="
);
...
...
sexhackme.php
View file @
6fa95ff7
...
@@ -368,7 +368,7 @@ if(!class_exists('SexHackMe_Plugin')) {
...
@@ -368,7 +368,7 @@ if(!class_exists('SexHackMe_Plugin')) {
add_filter
(
'plugin_action_links_'
.
plugin_basename
(
__FILE__
),
array
(
$this
,
'add_plugin_action_links'
)
);
add_filter
(
'plugin_action_links_'
.
plugin_basename
(
__FILE__
),
array
(
$this
,
'add_plugin_action_links'
)
);
sexhack_log
(
"SexHackMe PLUGIN Loaded!"
);
//
sexhack_log("SexHackMe PLUGIN Loaded!");
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment