Coder gurus I need some TradeExpert help please

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#16

Post by TheButcher » January 11th, 2019, 8:22 pm

Sorry I messed things up for a little while by trying a code on the footer file, it's okay now.

User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#17

Post by TheButcher » January 11th, 2019, 8:41 pm

I got it to work, you can check the thing at the bottom of the page, thanks for the help ladies and gentleman

User avatar
HeidiHoe
Verified Member
Verified Member
Posts: 1653
Joined: February 3rd, 2018, 12:20 pm
Title: Resident Genius

#18

Post by HeidiHoe » January 11th, 2019, 8:41 pm

I see you broke the site. I think i understand what you're trying to do. You are trying to parse php in an html file. You'll need to instruct your server to do that. Try adding the following code to your .htacess file:

If your webserver is running php as Apache module:

RewriteEngine on
RewriteRule ^(.*)\.html $1\.php
RewriteRule ^(.*)\.htm $1\.php


If your webserver is running PHP as CGI, use this:

AddHandler application/x-httpd-php .html .htm


Now cross your fingers and toes and do a php include in your html footer file
The Fourth Turning Is Here

User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#19

Post by TheButcher » January 11th, 2019, 8:53 pm

Is it broken still?

Colmike7
Banned
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#20

Post by Colmike7 » January 11th, 2019, 8:54 pm

TheButcher wrote: ↑
January 11th, 2019, 8:53 pm
Is it broken still?
Seems to be working to me




Colmike7
Banned
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#21

Post by Colmike7 » January 11th, 2019, 8:59 pm

Just one minor thing, on the trade signup page, the Nickname auto-populates "TheButcher" :p




User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#22

Post by TheButcher » January 11th, 2019, 8:59 pm

Colmike7 wrote: ↑
January 11th, 2019, 8:54 pm
TheButcher wrote: ↑
January 11th, 2019, 8:53 pm
Is it broken still?
Seems to be working to me
I did mess it up, replaced the footer file from a backup, then put Includephp before the code and the top list shows up. I did not come up with the fix, that was by "lumpy" and credit to him, so I do not come across as the guy who solved it.

User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#23

Post by TheButcher » January 11th, 2019, 9:01 pm

Colmike7 wrote: ↑
January 11th, 2019, 8:59 pm
Just one minor thing, on the trade signup page, the Nickname auto-populates "TheButcher" :p
Hmm let me see, as you can tell I might have messed something else up boss being so bad with scripts and codes, one minute please.

User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#24

Post by TheButcher » January 11th, 2019, 9:04 pm

Okay I think that is just TE, the field is writable, please use delete that on signup for some reasons it is populating that field with my nick, no idea why.

User avatar
killah
Verified Member
Verified Member
Posts: 1225
Joined: March 7th, 2018, 6:18 pm

#25

Post by killah » January 12th, 2019, 7:58 am

I see it so it seems fine

XpressPete
Verified Member
Verified Member
Posts: 768
Joined: April 20th, 2018, 7:39 am

#26

Post by XpressPete » January 15th, 2019, 12:10 pm

On a side note how do you like TE butch?




User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#27

Post by TheButcher » January 15th, 2019, 12:16 pm

XpressPete wrote: ↑
January 15th, 2019, 12:10 pm
On a side note how do you like TE butch?
The script is fine, does what it is supposed to do, support is extremely slow.

User avatar
AndyR
Verified Member
Verified Member
Posts: 242
Joined: February 5th, 2018, 5:29 pm

#28

Post by AndyR » January 17th, 2019, 10:15 am

Where is your toplist.html located ? is it in another directory or in the same directory as the main site ?
Have you tried using a relative path such as:

include '/public_html/sponsorchat/toplist.html';

That is obviously not the correct path but just an example.

User avatar
TheButcher
Administrator
Administrator
Posts: 17526
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#29

Post by TheButcher » January 17th, 2019, 10:18 am

AndyR wrote: ↑
January 17th, 2019, 10:15 am
Where is your toplist.html located ? is it in another directory or in the same directory as the main site ?
Have you tried using a relative path such as:

include '/public_html/sponsorchat/toplist.html';

That is obviously not the correct path but just an example.
HI Andy, thanks for that, I got it to work last week, it's in the footer of all the pages now.

Peace

User avatar
AndyR
Verified Member
Verified Member
Posts: 242
Joined: February 5th, 2018, 5:29 pm

#30

Post by AndyR » January 17th, 2019, 11:10 am

Ah so it is !!! I did not scroll down to see..... so what was the problem mate ? I am curious.

Coder gurus I need some TradeExpert help please

Post Reply