Adding An Affiliate Tracking Code To Phpbb Forum.
I am currently running phpBB 2.0.22 with current updates. I am trying to integrate an affiliate tracking code to track new registrations. The current code is:
<!--START SoAndSo.Com CODE-->
<script language="JavaScript" type="text/javascript"
src="https://www.soandso.com/affiliate/trackingcode_sale.php?mid=12&sec_id=M_129eJ5kN3vD8uF&sale=<?=$USERNAME?>&orderId=<?=$EMAIL?>">
</script>
<!-- END SoAndSo.Com CODE -->
I do not know if i am using the correct varaibles "EMAIL" & "USERNAME" and i do not know what page to place the code in so that it can grab these variables.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Linking A Page With Phpbb Forum
iv been trying to do this for a while, link my website users with phpBB forum users so they only need to register once. Now someone was kind enough to give me this code to get the users information: Code:
Form To Post Into A Hidden PHPBB Forum
I'm trying to make a PHP/HTML Form that after it was finished being filled out, and was submitted, it would post it in a hidden forum that only administrator on the forum could view. I'm not 100% sure if this is even possible, but if it is, how hard would be to accomplish?
PHP Script For Ccbill Affiliate Code
I am looking for a simple php script that will allow my affiliates to enter their affiliate code in the URL of an FHG and for the code to be carried through to my website when a link to the website on the FHG is clicked.
Adding Users In PhpBB 2.0.x
I've been looking through the phpbb2.0 forum looking for tips on how to add a user without using the registration form. While phpbb 3 seems to have a simple way, the 2.0 search turned up empty. I've tried adding users via php, into the phpbb_users table, but these users cannot login - they get the error message 'You have specified an...
Reg EX (Forum Code)
I am trying to allow a user to type a url such as [!url=blah!]http://www.ajb007.co.uk[!/url!] then this will be converted into a link, to do this I am using the following RegEx: PHP Code:
Replacing Forum Code With Regular Expressions
Caution: newbie to regular expressions here (but not newbie to PHP). I'm trying to replace forum code (such as "[b]" and "[quote]"[smilestopper]) with the HTML equivalents. So far so good - my script works. But it can lead to invalid markup if forum code tags are nested. I cannot see a way round this. My guess is that my expressions are too basic. I'm filtering the text and matching opening and closing tags. But what I need to do is look for opening tags and *only* replace them if they are followed directly by the identical closing tag to match. Here's what I've got so far: <style>i {color:red;}</style> <?php $text = "[b][i]A[/b][/i] [i]B[/i] b [b]C[/b] [b][i]D d[/i][/b] E [/b] [i]F [/i]G[/i]"; $pattern = "/[b](.+)[/b]/Uis"; $pattern2 = "/[i](.+)[/i]/Uis"; $text2 = preg_replace($pattern, "<b>1</b>", $text); $text3 = preg_replace($pattern2, "<i>1</i>", $text2); echo "<pre> $text3 </pre>"; ?> This works, but the start of the output looks like this: <b><i>A</b></i> As you can see, the tags are misplaced. I tried filtering the text a third time to remove the problem, but it took out tags near the end of the text as well. Is there a way to make a regular expression that uses something like 'non-greedy quantifiers' or 'lookahead assertions' to check for a closing tag ahead? I'm not sure exactly how to use those methods. I have looked at sample scripts but find them mind-bogglingly complex.
Looking For A Forum-style Text Editor With BB Code Buttons
I've been hunting around the Internet for a few hours looking for a text editor with BB code buttons, similar to ones you'll find in basic forums. I've tried several WYSIWYG editors, but they're just too advanced and don't always function how I'd like them to. I'm looking for something simple, but flexible; something that works in virtually any browser.
Affiliate Scheme In PHP?
Does anyone know of any code snippets for an affiliate type system. Whereby it tracks referals through the session_id until a purchase is made, flagging that purchase with the introducing affiliates code.
Affiliate Script
I am in need of a affiliate script. A script that can track all links coming from a banner and what not and credits sales to affiliates. A good example is alienwares script. http://www.alienware.com/main/affil...s/adv_login.asp
Affiliate Link Redirect
To cloak my affiliate links, I use a program that I input the affiliate link & generates code that I put in a PHP file that I link to & it redirects to the merchant's product page. All I am trying to do is protect my link from thieves and make it look more "normal" for my vistors--not trying to cookie stuff or anything like that. My problem is that one of the new merchant programs I am promoting is through clixGalore, and their affiliate links are a bit different from what I am used to. Instead of giving you an affiliate text link something like this: Code:
Cost To Install Shopping Cart And Affiliate Program?
I am looking to hire someone to install PHP scripts onto sites I built for my clients. I am new at this and wanted to ask you, the PHP experts, first. I am interested in having a shopping cart and an affiliate script installed on http://healthyresult.org This site is hosted by which has mySQL, PHP, and Apache. After reading hotscripts.com, osCommerce and H4H Affiliate Program looked like good choices because they worked together. I am open to using other scripts. There is a site that offers installation services at http://help4hosters.com/ser_scripts.php to install osCommerce for $20 and H4H for $100. What confused me is that osCommerce claims that it can be customized so I didn't understand why help4hosters.com charged extra merely to add a custom graphic to it. My fear is that help4hosters will disable my ability to add custom header and footers which are described in the osCommerce description. Is this a good deal? I use FrontPage to design sites but I do have some programming skills from my engineering undergraduate background when they taught PASCAL and BASIC, 500 years ago. I can read HTML and JAVA but not well enough to write it. I am hoping to learn some things about web programming from a PHP programmer and can pay a reasonable consultation fee. I taught myself how to use FrontPage to earn some income while I study for the Patent Bar Exam so I am not formally trained in Web Design. If you think we can work something out, please let me know how to contact you.
Phpbb
for those of you who are familiar with it: what do I do with the phpBB file once I have downloaded it??
How To Hack PhpBB?
Well the title might be a bit misleading: Some time ago I was trying to reverse engineer the authentification system in phpBB because I was building a community site in which there was a phpBB Forum integrated as central component. The idea was to give the users the possibility to log in once and then move on the entire site without having to bother about login again. It didn't go very well, I was able to use the login data and some other stuff, but the autologin stuff didn't work and in some cases my login attempt was just refused. Now my question is: is there any good resource on how to integrate phpBB into community sites (or better, build community sites around phpBB). This includes: - Login system - Autologin system - Profile data - Using polls from phpBB outside phpBB - Using threads as News (and subsequent answers as comments)
Help On Editing PHPBB
I do manage a website and it includes a PHPBB forum, obviously placed at /forum (¿why to use a weirder path? :P). The thing is that my site is more than a forum, it has more content. I have menus almost everywhere, it's very navigable; but if you go into the forum, you can only get back to the other sections of the site using the back buton or removing everything starting from /forum in the address bar. Of course, this doesn't fit my site's philisophy, which is almost to put menus even inside the menus in every page, so you can go from everywhere to everywhere... I hope you cacth it. I've noticed that it shows the domain and title I put in the admin panel. Well, what I'd like to do is to make this text link to my homepage, placed at /index.php or simply /. The problem is that I'm completely lost when trying to do something in PHPBB's source files. I don't know which file should I edit, nor where should I add the code. These files are a code labirynth for me, and I need to edit them to fit my site's needs.
PhpBB Nesting?
Is it possible to configure phpBB to display threads "newsgroup style"? What I mean by this is to show replies to the top level post indented in a tree structure. One thing I cannot stand about phpBB is that all replies to a top-level topic are in a long train. You never know if somebody is replying to the person before him or the original poster, etc. If not, does anybody know another open source forum tool that does this, besides mwforum?
Phpbb And Php Pages
I have a phpbb message board that I am using. I also have some pages I created that use HTML and PHP. I am curious if there is someway for me to use the login inside the phpbb to use as a login to my other pages. Is there an easy way to have these 2 integrated so that they can only access either one if they are logged in? Or will I have to set up a separate loging for my other PHP pages?
Phpbb Login
We run a medium sized website that hosts a phpbb forum. We want to create a custom login/logout script, and I have tried really hard to decrypt the phpbb code but find it really difficult. Does anyone have a basic login/logout script that works with the phpbb database? So writing the sessions/cookies etc. I want to be able to create a single login/logout page where i process everything - ie: set sessions/cookies for login (but finding it hard to work out what values/names to set).
PhpBB Login
i'm currently using the following code to place a phpBB3 login box anywhere on my website. As you can see, it uses the phpBB3 "ucp.php?mode=login" code to process everything. Is there a way that I can send the form data to "ucp.php?mode=login" and then KEEP all the post data and redirect it to a new page to use the post data again? Here is the code:
PhpBB Pagination Error -
I've got pagination errors in a phpBB board. Some forums are showing "page 1 of 0". Previous enquiries both here and at the phpBB forum have given me half-answers, the latest of which contained this advice: For each forum in phpbb_forums: -) Get the number of posts that belong to a forum from phpbb_posts select count(*) as count from phpbb_posts where forum_id=$forum_id update phpbb_forums set forum_posts=$count where forum_id=$forum_id -) Get the number of topics that belong to a forum from phpbb_topics select count(*) as count from phpbb_topics where forum_id=$forum_id update phpbb_forums set forum_posts=$count where forum_id=$forum_id I understand that I have to enter some of this code into phpMyAdmin to correct the error in the MySQL database - but I don't understand how! I've tried copying and pasting the uncommented lines into the "queries" box in phpMyAdmin, but I get syntax error messages back which I can't fathom. (I'm not even sure whether I'm entering them into the right place.) I'm running: phpBB 2.0.6 phpMyAdmin 2.5.4 My ISP is running: MySQL 4.0.15a php 4.3.2 If anyone can provide an "idiot's guide" to correcting this problem I'd be most grateful. I've been trying since the middle of December to fix it!
PhpBB Installation, Permissions
Just a quick item of note: Installation Guide says: chmod -rw-rw-rw- config.php Most often this would be done using an FTP client. I have been unable to do this, and assume its because the dir does not have 'w' set for group, other. I know when creating dir's on a Unix host, the dir takes on the permissions of its parent. I'm also guessing that its rare for "htdocs" directories to have 'w' set and to do a chmod for config.php requires changing every dir on the tree. I also noticed some hosts have installers or fantastico to install phpBB. Is there any difference, compared to doing it manually ? Any comments ? ( I know this isn't specifically a PHP question; didn't know a better group )
PhpBB Database Requirements
I'm looking into setting up a forum for a client's website. phpBB and Invision Power Board seem to be the two most popular. For the moment I am starting with phpBB because I don't like the "free trial" language on Invision's site. I'll be setting up phpBB with MySQL. Does it require its own database, or can I use an existing MySQL database that already has tables in it?
PhpBB And Wordpress Template
I have created a template for my site and now I want to use the same template for phpBB and wordpress, please help me that is there some specific way to slice the template for phpBB and wodpress or there is some other method...
Converter For PhpBB To VBullettin
I want to convert an existing site in phpBB to Vbullettin.Is there any converters available for the same.Please let me know more about this as this is an urgent requirement
PhpBB And Displaying Images
I need to add upload functionality of images to phpBB 1.4.4. I have decided to have the images upload directly into mysql as binary data. I have been succesful in adding upload code into phpBB to allow it to upload images. What I am having a problem with is displaying those uploaded images on the viewtopic.php page. I have taken a look at the tutorial on phpbuilder that talks about uploading and viewing binary data in mysql and I have followed the examples. here's the link if interested: http://www.phpbuilder.com/columns/florian19991014.php3 So basically this tutorial has the user create another file that will be called to grab and format (with proper header info -- image/gif) the image and send it back to the relevant page. So within my viewtopic page - where I want the image to appear I provide the following code. post_id is a parameter that tells getdata.php where the image field is located for that record. PHP Code:
PhpBB Sites Hacked.
The phpBB sites are hacked. If you search for "HACKED BY CYBER-ATTACK" on msn.com you will get a list of all the sites hacked. Anyone knows what is the way to clean this up ?
Php,PhPBB,Apache,MySQL,Linux
The problem is that i must run a BulletinBoard like Helpdesk program. Somebody else made this program. but in the vacation the shutted down the linux server. Now the Database doesn't work anymore. The error he gives is: phpBB : Critical Error Could not connect to the database I installed al programs again (Apache,Php,MySQL). And then i put back the backup from the database/phpBB program. I already asked some people and they say it is maybe the link between the database and the MySQL.
Phpbb Directory Permissions On Windows?
What should the directory permissions look like on the various folders in a typical phpbb install? I was looking at a server today that had phpbb installed on a box with IIS installed on it and many of the folders had read,write and modify flags set for the IUSR_MACHINENAME account. Im thinking this should be changed to read-only.
PhpBB Automated Module Installation
I hope this is the right forum for this post. Does anybody know if a program already exists to automate the process of installing phpBB modules? I couldn't find one, so I was going to write one; but I don't want to if one exists. It kind of seems like there might be one already, looking at the way the installation files are formatted. It's really annoying to me that they don't pass out diff patches along with the module instructions.
Parse Error In Phpbb Registration
I keep getting this error: Parse error: parse error, unexpected $ in /........./phpBB2/includes/usercp_register.php on line 1401 Here is around the lines (1401) in question, I'm pretty new to all this so I'm not sure what to look at or do, any help would be appreciated, considering I can't register any new users until I get this figured out. Here is the lines in question:
[MySQL] PhpBB Not Displaying Topics
Yes, I know there exists a suport forum for discussion about problems with phpBB, but noone there seems to know the solution to my problem... so I ask here. I've been messing around with phpbb_ tables in my database... I'm trying to convert a incomplete Ikonboard forum to phpBB, and had to do lots of stuff manually (which is fine as I'm familliar with MySQL). And, now I'm stuck and can't figure out the problem... The forum in question is: http://fly.srk.fer.hr/~nick/remorkeri/phpBB2/ The situation is this: a) from the outside: On index.php I can see numer of topics, number of posts and info about last post. On viewforum.php I get "There are no posts in this forum.". b) from the inside: select post_id, topic_id, forum_id from phpbb_posts; returns a whole bunch of everything, so this table seems OK. select post_id, post_text from phpbb_posts_text; same thing. select topic_id, forum_id, topic_title from phpbb_topics; same thing. So, form the inside everything seems nice. So, why viewforum.php doesn't see the articles? I tried to figure out the PHP code, but couldn't, haven't got all the time in the world...
PHPNuke To PhpBB Integration Question
I have a standalone phpBB forums and just recently installed PHPNuke on my website. I know phpnuke comes with it's own version of phpBB. How can I make it possible for members who register through phpnuke to automatically be register with my standalone phpBB? If this is not possible, how can I transport my standalone phpbb to the one that is included with PHPNuke?
Webpage PhpBB Login Integration.
On my website i have a login username/password box i have it when you enter your login details it'll log you into the forums. When no ones loged in theres no problems but when someone logs in i get the error on my index page QuoteWarning: Cannot modify header information - headers already sent by (output started at /home/adaminc/public_html/index-test.php:5) in /home/adaminc/public_html/forums/includes/sessions.php on line 254 Code:
Phpbb Auto Increment Question?
Is anyone familiar with the way phpbb works in terms of adding a new user to the database. If i am right it doesnt seem to auto increment? When a new user registers fir my site, I also have an sql insert into the phpbb_user table too so they can then logon to the forum. But the id seems to go in as just 0 and wont increment! Is there any reason for this?
Variable Being Passed From Site Into PhpBB
I am creating an autologin feature where my site members are logged into the bulletin board automaticly the only variable I find that is global is $sAuth it stores the members id #... I can user this to pull the name and password out of the database and set name and password in the forum to eaqual these... is this a security issue? or can $sAuth only be set by script on my site??? I am rather new and want to make sure this variable can not be asigned in another way.
Upload Phpbb, Instead Of 1 File At A Time?
It says i have to upload the whole folder to my server, and im using cpanel so i have to do it like a few files a time, how do i upload the whole folder at once? is their a way of uploading a zip and extracting it to my site, or is their a way on ftp i can do this?..
PhpBB Classified Ad Extention Installation
Trying to install the phpBB classified ad extension for phpBB. Getting the following error/s Warning: include(./language/lang_english/lang_main_ads.php) [function.include]: failed to open stream: No such file or directory in /home/namibiac/public_html/ads_mod/ads_common.php on line 37 ...
PHP/SQL Forum
I will try to program php/sql forum for the software engineering project at University. Can you tell me something useful about programming such thing as a forum, or give me some tips how to start, design patterns, links, source codes, books...?
Forum
Forum commuication is easier, and I've just started a new forum and would like to invite all of you to sign up and post there. I'm still looking for moderators and anyone who will help out. If you are intersted: www.wizardsolutionsusa.com -- follow the forum link. Remember it doesn't take but a minute of your time to sign up,
Into PHPBB2 Forum From URL
I have this PHPBB2 forum running on my server. I want the user coming in from the internet to get directly into a specific forum I created. so the user types "http://for1.xxx.com" and immediately gets the login screen for forum for1. Now she comes in at the screen that shows all the forums I defined, by typing php.xxx.com. But I don't want that.
Forum Advice
i'm writing a forum in php and i have a few logical questions which i would value your advice on. when you delete a post that has more than one child what is normally done with the orphaned posts?
My Tiny Little Forum
I am just updating one of my php scripts with some enhancement which I feel would be useful and not offered for threaded discussion forums (at least I am not aware) Please have a look give me some feedback. http://bestweb.ca/lite2/ I know it has a lot of work to do and I will be doing them slowly although I am still a PHP newbie (a long winter ahead). But for now, I just want to see whether if there would be interest to such attempt. Also, I am looking for PHP (security, Mysql query) gurus to help me or participate in this forum project. Feel free to contact me if you would be interested.
Integrating A Forum.
What is the best free forum software that would be easily integratable into an existing site.
Forum On MySQL
Is it possible to get password to enter forum (I mean place where users exchange thoughts, opinions) or to forum member account, while I forgot them. I tried to contact forum admin, but he doesn't respond. I don't have any kind of hint (prompt), any kind of question registered on my account to help me (to gain automatically this pass). This forum is a normal forum on www, database is on MySQL as I remember. I remember also that any kind of links (posts) - there is php usage.
|