First kudos for such a great install / update log for your plugins! Freaking awesome work.
So I installed the Twitch Restrict Module. A lot of the files I just copied over to my server.
Other files have been modified by other plugins previously installes or by me when modifying things.
For the files that had been previously changed, I did not move your supplied files to my server.
Instead I referred to your file twitch_restrict_cat_by_cust_or_group_16a_for_154.txt (here after called install.txt)
and added the code outlined in the install.txt.
I found a few issues along the way. Maybe you can tell me what I am doing wrong or maybe you have a little tweaking to do to the install files? Below most (not all) of the issues relate to missing code in your supplied files. For the files that do have the all the code added it is easy to look at your supplied files and know exactly how to add the code to my server files. But a few of the supplied files seem to be missing some code?
Issue 1
The Install.txt has instructions starting on line 1404
Instructing the additions of some lines to file
admin/includes/modules/category_product_listing.php
When looking at the files supplied with the Restrict Module, the lines you suggest adding are not in the file you supplied. Needless to say they are also not in my file.
I am not a coder so I am hesitant to just pick a spot to add the suggested code changes.
On each file I look at the file you supplied and note how to add the suggested code to my file on the server.
With the code missing in your supplied files I have no example to follow.
Am I missing something?
Issue 2A
The Install.txt has instructions starting on line 130
Instructing the additions of 3 lines of code to file
admin/includes/languages/english/customers.php
Again the lines of code are not present in your supplied file.
Issue 2B
The Install.txt has instructions starting on line 1397
Instructing the additions of 3 more lines of code to file
admin/includes/languages/english/customers.php
Again the lines of code are not present in your supplied file.
For issues 2A and 2B (same file)
I took a best guess and added all the lines of code next to eachother after line 40 in my file.
Here is a copy paste of the code I added with an existing line of code above it and an existing line of code below it so you can see where I put it. Is this in the correct location or will I have issues?
While I am hesitant to make a guess at where things go, this seemed to be a small file and assume it easy to find what I did.
define('ENTRY_NONE', 'None');
define('TABLE_HEADING_CAT_GROUP','CatGroup ID');
define('CUSTOMERS_CAT_GROUP', 'CatGroup ID: ');
define('CUSTOMERS_CAT_GROUP_NOTES', ' Customers Category Group ID = 0 (Default) => Everyone | Master ID = 1 | Sales = 2 (Twitch Restrict Categories by Customer or Group).');
define('CUSTOMERS_CAT_GROUP_ORIGINAL', 'Original CatGroup ID: ');
define('CUSTOMERS_CAT_GROUP_ORIGINAL_NOTES', ' Original Customers Category Group ID (for reference only)');
define('TABLE_HEADING_COMPANY','Company');
Issue 3
The Install.txt has instructions starting on line 1367
Instructing the additions of some lines to file
admin/customers.php
Again the lines of code are not present in your supplied file.
I am hesitant to just make a guess and go for it.
Issue 4
The Install.txt has instructions starting on line 265
Instructing the additions of some lines to file
admin/includes/modules/category_product_listing.php
When I add this line it moves my headings over but not the data under the headings, so the data is not under the correct headings anymore.
This is in relation to my admin area where I view the products in a category.
I must have missed something else that is supposed to go with this so things still line up?
Any help you can give to get me back on track would be appreciated. Then I can start trying to figure out how to use it.
Luke


Reply With Quote
