xoops forums

Forum Index


Board index » All Posts




rossb

Just popping in
Posted on: Today 13:04
rossb
rossb (Show more)
Just popping in
Posts: 55
Since: 2006/8/28
#1

Re: Oledrion(ecommerce) RC2 update available for testing / blessing (mamba?)

sorry Mamba;

getting Oledrion working blew my schedule. No time for forking about:)

Regards;
Bill


Mamba

Moderator
Posted on: Today 1:25
Mamba
Mamba (Show more)
Moderator
Posts: 10819
Since: 2004/4/23
#2

Re: Oledrion(ecommerce) RC2 update available for testing / blessing (mamba?)

Thanks for the updates! I'll look into it over the Christmas holidays.

Can you post your code on GitHub and issue a Pull Request?

Thanks
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs


rossb

Just popping in
Posted on: Yesterday 13:09
rossb
rossb (Show more)
Just popping in
Posts: 55
Since: 2006/8/28
#3

Oledrion(ecommerce) RC2 update available for testing / blessing (mamba?)

Changes:

- rossbcan: www.rossco.org
- cleaned up dead / commented code
- changed minimum xoops version to 2.5.9
- re-worked gateway / paypal code
- fixed gateway classname bug
- fixed paypal intermittent failures due to pcntl_fork child losing DB connection at parent exit
- added "Note to Vendor" field in checkout and email templates - persian not done
- (sql init) changed product_recommended DATETIME init value to '1970-01-01 00:00:01' for broader DB compatability
- added example DB update script (update_sales.php) for updating other DB's when product is sold (OLEDRION_DB_UPDATE_SCRIPT)
- (sql/mysql.sql) pre-populated several db tables: missing, no UI or UI failure at entry
- fgrep -r "TODO" modules/oledrion for to do suggestions
- this module needs major theming updates - make it pretty
- "somebody" needs to document paypal account setup

Download:
https://www.rossco.org/Downloads/OpenW ... /oledrion-2.35_RC2.tar.gz

RC1 -> RC2 Patch:
https://www.rossco.org/Downloads/OpenWrt/Files/oledrion_rc2.patch

Hello,

This email informs you of a new order on the website.
The user's IP was x.y.z.aa

- Order number : 51
- Transaction ID : 2B953910EC258071J
- Details on the client :
First name and last name : Ross 
Address : 
Post code and town : noe1l0 Oakland
country : United States
Telephone : 
Email : hidden
Note to Vendor : another note

Invoice wanted : Yes


- Order details :
Product'
s Title                                                  Qty     Price      Shipping
---------------------------------------------------------------------------------------------
1     SecureOffice Repository Access annual        1          $20.00 


Total 
$20.00



This email was automatically generated
please do not reply.
-------------------------
SecureOffice (https://www.rossco.dynu.com/)


Site www.rossco.org will be going live for sales in a week or so. Thus far, only known e-commerce site using oledrion.

Enjoy;
Bill


rossb

Just popping in
Posted on: 2019/12/14 11:44
rossb
rossb (Show more)
Just popping in
Posts: 55
Since: 2006/8/28
#4

Re: Really NOT a stupid php / sql problem

I caused the problem in the first place. No longer fork is the solution I chose for oledrion-2.35_RC2 which I will be releasing a patch set for after testing is complete.


neo75

Just popping in
Posted on: 2019/12/13 20:10
neo75
neo75 (Show more)
Just popping in
Posts: 13
Since: 2010/4/28
#5

Re: Where is the header links ?

Thank you but it is not the answer I expected but one with a little more precision.

In principle it is in which files that it is declared where : index.php xoops_versions.php ...

In all the modules there are several directory and full of file then in which it is to declare normally there must well be a rule one does not put that in a file of the theme or css


rossb

Just popping in
Posted on: 2019/12/13 18:06
rossb
rossb (Show more)
Just popping in
Posts: 55
Since: 2006/8/28
#6

Re: How to create a new xoopsDB connection - from scratch

Thanks geekwright.

Got it working.
Needed:
$xoopsDB = XoopsDatabaseFactory::getDatabaseConnection(); -without this, hangs
$xoopsDB->conn = new mysqli( XOOPS_DB_HOST, XOOPS_DB_USER, XOOPS_DB_PASS, XOOPS_DB_NAME );

and, after all the hassle, using pcntl_fork, shaved 200milliseconds off return to paypal. Max observed transaction time is < 2 seconds; paypal requires < 30 seconds.

hardly worth it; so paypal callback is now single process / thread.

...B


alain01

Quite a regular
Posted on: 2019/12/13 14:47
alain01
alain01 (Show more)
Quite a regular
Posts: 308
Since: 2003/6/20
#7

Re: Icon for new pm in the main navbar, not only on the dropdown "User Menu" list

yes, and yet write in another topic, for me :

Resized Image


Boostrap 4
<{xoInboxCount assign="unread_count" total='inbox_total'}>
        <
li class="nav-item">
            <
class="nav-link" href="<{$xoops_url}>/viewpmsg.php">
            <{if 
$unread_count}> 
                <
span style="font-size: 20px;" class="mx-auto xoopsinactive-color fas fa-envelope"></span> <span class="badge badge-pill badge-danger align-text-top"><{$unread_count}></span>
            <{/if}>
                <
span style="font-size: 20px;" class="mx-auto xoopsinactive-color fas fa-envelope-open"></span> <span class="badge badge-pill badge-secondary align-text-top"><{$inbox_total-$unread_count}></span>
            </
a>
        </
li>


alain01

Quite a regular
Posted on: 2019/12/13 14:30
alain01
alain01 (Show more)
Quite a regular
Posts: 308
Since: 2003/6/20
#8

Re: Which editor do you use ?

Quote:

goffy wrote:
I use also phpstorm, because with this tool you can immediately debug your code, can run code cleaning,....
Ok, i see "Run / Edit configuration"...

Could you explain to me in 3 or 4 sentences (and for the other readers how you can debug the code ?
May be with an example, i could understand easily.


goffy

Quite a regular
Posted on: 2019/12/13 14:14
goffy
goffy (Show more)
Quite a regular
Posts: 384
Since: 2010/12/27
#9

Re: Icon for new pm in the main navbar, not only on the dropdown "User Menu" list

Hi

yes, I am the same opinion.

I have implemented this in myxoops.org and in the skiclub theme
but I have no access to theme of xoops.org

code is
<a data-toggle="dropdown" class="dropdown-toggle" href="javascript:;"><{$smarty.const.THEME_ACCOUNT}><{xoInboxCount assign="unreadCount"}> <{if $unreadCount 0}><span class="badge"><{$unreadCount}></span><{/if}><class="caret"></b></a>


alain01

Quite a regular
Posted on: 2019/12/13 12:10
alain01
alain01 (Show more)
Quite a regular
Posts: 308
Since: 2003/6/20
#10

Icon for new pm in the main navbar, not only on the dropdown "User Menu" list

Hi,
i had a PM im my inbox, but i missed them more than 1 week cause i dont clic often on the "User Menu", so i cant see the "inbox" line with badge.

I can see this badge "(number of unread PM") only if i click on the "User Menu" link.

It will be very usefull to add this badge too close the user Menu, not only on the "inbox" line.

Like that : "User Menu (2) v"



TopTop
(1) 2 3 4 ... 29259 »