Thread Rating:
  • 4 Vote(s) - 4.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ezTrader Rating System 1.0.2
Yeah, that is a goal I have one day. I did it originally like that to quickly port from one forum system to another.
Reply
Version 1.5
Security Update
!Add my_post_key to submit feedback/report feedback
Reply
This user has been denied support. This user has been denied support.
how to show only trade count number only in postbit and profile
Reply
(2020-11-04, 08:43 AM)bhuto Wrote: how to show only trade count number only in postbit and profile
Where do you want to remove it from
Reply
This user has been denied support. This user has been denied support.
i wanna show in profile page. but only totall count
Reply
(2020-04-19, 10:52 PM)vbgamer45 Wrote: Version 1.5
Security Update
!Add my_post_key to submit feedback/report feedback
Vbgamer, thanks for keeping this updated.

Could I bug you to include some code to force a valid link to be posted in theĀ Topic URL for a trade?

Regards
Reply
What do you mean by valid? Just starts with http:// or more in depth checking?
Reply
(2021-03-07, 10:07 PM)vbgamer45 Wrote: What do you mean by valid? Just starts with http:// or more in depth checking?
basically yes, it must be http://DOMAIN name if possible.

More in-depth would be great to make sure its a SALE thread but I understand something like that might be quite involved with DB queries.
Reply
Open eztrader.php

Find line 772
After
$topicurl = htmlspecialchars($_REQUEST['topicurl'],ENT_QUOTES);
Add
 if (substr($topicurl, 0, 7) != "http://" && substr($topicurl, 0, 8) != "https://")
	ezTrader_fatal_error2("A valid sale topic is required",false);

Reply
(2021-03-08, 02:48 AM)vbgamer45 Wrote: Open eztrader.php

Find line 772
After
$topicurl = htmlspecialchars($_REQUEST['topicurl'],ENT_QUOTES);
Add
 if (substr($topicurl, 0, 7) != "http://" && substr($topicurl, 0, 8) != "https://")
	ezTrader_fatal_error2("A valid sale topic is required",false);


Awesome! Thank you this work for any https address.
Would it be possible to do a wildcard?

for instance == "https://domain[*]"

Apologies, I am very new to coding so not sure the wildcard for PHP is * ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)