![]() |
Do u know if the text files "installation_instruct" are vb forum edits & "upgrade_instruct" are for CMPS modules. Thx if u could help
|
I am guesing the upgrade file is for if you ran a old version of this hack...
|
Quote:
Yah, u are right. It does say overwrite for php. files Thx venomx The old one was vB Affiliates is that what u are referring to? U know I was checking how did anyone install this hack for vb3.0.7 if the narbar edits to find that code do not exist, so how do u add a code that not there? It is not in default code, so how. just wondering how u got the right Navbar code for vb3.0.7 cause the one it shows is for vb3.0.0 I just linked to http://www.mydomain.com/forums/affiliate.php ~~~~~~~~~~~~~~~~~~~~~~~~~~ Begin Template Edits ~~~~~~~~~~~~~~~~~~~~~~~~~~ ----------------------------------- Open template titled: navbar is vb3.0.0 ----------------------------------- Find: <td class="vbmenu_control"><a href="$vboptions[bburl]/memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td> ----------------------------------- After Add: <td class="vbmenu_control"><a href="$vboptions[bburl]/affiliate.php">Affiliates</a></td> ~~~~~~~~~~~~~~~~~~~~~~~~~~ Begin Template Edits ~~~~~~~~~~~~~~~~~~~~~~~~~~ ----------------------------------- Open template titled: navbar is vb3.0.7 navbar vb3.0.7 is the only code that looks to match ------------------------------------ <td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td> so all u do is change it like this. <td class="vbmenu_control"><a href="http://www.mydomain.com/forums/affiliate.php">Affiliates</a></td> Credits to venomx for the help |
https://vborg.vbsupport.ru/showpost....&postcount=210
An error occurred while attempting to execute your query. The following information was returned. error number: 1064 error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '; CREATE TABLE affiliates ( affiliate_id int(10) NOT NULL au Is this one query or many cause I copy & paste & get that 1064 error so how do I do this. Code:
Run this query: Code:
DROP TABLE IF EXISTS affiliates; Code:
CREATE TABLE affiliates ( One more thing is I am surprise u do not have a paypal donate thing cause of the time u spent on this. :nervous: |
How do I enable it or what is the amdin link? I get this when i click on it
Code:
Sorry but the Affiliates section of this site has been disabled. |
Look in your VB admincp
|
Quote:
Quote:
|
If you made the edits to the /admincp file(s) then you should have Affiliates Listed on the right...
|
Quote:
How sad I am I did not even refresh my Admin. C/panel page to see the changes. I really need some sleep but before I do I think I go to look at that Graffito thing it looks real promising :tired: Woot! Woot! got it working Thanks again venomx |
Will this work with 3.07
|
Yes it does
|
I'm lost here
PHP Code:
PHP Code:
|
Quote:
|
Quote:
i know that but how? I'm used to "create table...name it add this etc." I never seen this before. |
OK I almost got it. I think when I try this...
PHP Code:
Quote:
|
Quote:
|
i made new Apply form template to this hack hope you like this one
Code:
$stylevar[htmldoctype] |
I get this error on top of Affiliates page but the image appears and on the right of the image right after " Image: " a broken image link appears but after that the url image work.
Is image to big or is it something else. I also get information not filled out properly. I get email from others trying to share button links & this does not filled out properly. I have to fill it out myself in admincp instead of just ok it. Code:
Affiliate Image Button: Code:
<A HREF="http://www.cosforums.com"><img src="http://www.cosforums.com/images/banners/cosforums_small.gif"></A> Code:
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /affiliate.php on line 110 Code:
http://www.theundergroundsource.com/ Password : test |
Typo in green
---------------------------------- Open file: /admincp/index.php ---------------------------------- Find: if (can_administer('canadminstyles')) ---------------------------------- Add above it: Code:
$printhr = false; |
Server Type Linux
Data Usage 21.29 MB Web Server Apache v2.0.53 PHP 5.0.3 PHP Max Post Size 8M PHP Memory Limit 8M MySQL 4.1.10a vB 3.0.7 thats my basic info. I just installed and get a blank page every time I open the affiliates.php page. I've gone over my AFFILIATE template and and all the other templates. I enabled the Affiliates page in the AdminCP. Any Idea's anyone? *clicks install |
can any one help me getting this hack to work with " . TABLE_PREFIX . "?
|
Hello,
The install went well, including the CMPS module, but I'm getting wierd errors when the links are clicked http://www.tech-unity.com/forums/aff...listaffiliates There are so many update text files in this thread I've gotten lost as to which ones do to. Can someone help me out? |
Installed on 3.0.6 with only one problem which is not a worry.
sql queries to add admin phrases failed :ermm: Cafe Affiliates clicked install .. great hack. |
Can I assume this is no longer supported given the "Offical Support/Suggestion forum" no longer exists? I was just wondering if any work was being done to make this work on vb3.5?
|
This fixed it for me on vB 3.0.7
https://vborg.vbsupport.ru/showpost....&postcount=180 Excellent hack, thank you ;) |
Got it working.
Great hack! |
Quote:
yup thanks. |
I tried to install this hack a few times now. all i am getting is a blank page..
I am running vb3.0.7.. I also would like to know how to get this hack to work with prefix's? |
Sweet thanks man this'll help lots!
|
I wonder where do members can get the image url to put on their site? Like the hit in system..
|
Quote:
|
hello
am trying to install this now and has all gone to plan but im having trouble on the last query im trying to add this query: INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_x_successfully', '<i>{1}\'s</i> has been updates!', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'deleted_affiliate_x_successfully', '<i>{1}</i> has been deleted!', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'deleted_affiliate_x_unsuccessfully', '<i>{1}</i> was not deleted due to your choice selection.', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'inserted_affiliate_x_successfully', '<i>{1}</i> has been successfully added to the data base.', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'inserted_affiliate_x_unsuccessfully', 'This affiliates could not be added to the database because you either did not enter an affiliate name or an affiliate url or an affiliate email.', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_settings_successfully', 'Settings for Affiliates Addon Updated.', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'updated_affiliate_type_successfully', '<i>{1}</i> was updated successfully.', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'updated_affiliate_type_unsuccessfully', 'The type was <u>not</u> updated because the types name was left blank.', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_type_unsuccessfully', 'This type/category was not added to the database due to the name of this type/category not being filled in.', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_type_successfully', '<i>{1}</i> was added to the database successfully.', '9000'); INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('0', 'approved_affiliate_x_successfully', '<i>{1}</i> has been approved successfully and an email has been dispatched to its admin\'s email.', '9000'); but it shows error saying table does not exist my prefix is vb3_8 but dont know if or where i need to add that to make it work can anyone help? regards dean |
Quote:
|
works mate
thank you very much :D great hack :D |
How can I get it to show a random affiliate?
|
I have everything installed and no errors of any kind from where I can see. The problem I am having it in the AdminCP I check the areas to activate the addon, select the rest of my settings, and then when I save it, it shows that my information has been saved. (again no errors). However when the screen refreshes it shows the page if I had never made a selection at all. The addon also does not activate. In short it's not saving my selections. Any thoughts or ideas?
Thanks! |
Just a quick inquiry...will we see this hack for vB3.5 :D
|
its been ported by Danny_vbt
|
When I add new template(affiliate_list), the following error occurred:
Quote:
Quote:
BTW: my forum version is VB 3.0.9 |
Quote:
|
All times are GMT. The time now is 04:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|