I already checked. In fact, I have written “the sample.csv does not include Tags”. The link you posted does not talk about tags.
Another problems:
– description includes commas inside, so the csv does not upload properly
– link template is a custom template, I don’t see it in the wp-content/plugins/download-manager/tpls/link-templates
directory in order to set it
– also page template is a custom template, I don’t see it in the directory
Can you suggest the solution in order to process correctly the csv?
Hi Shahriar,
It should be like this: User login > redirect to a “page A” instead of the user dashboard page. (I don’t want the box “Welcome user” with link to user dashboard, not even the user dashboard page.
The “page A” is a “premium content” page accessible only to members (membership plan) regularly registered.
Edit: resolved, I re-modified the file overrided wpdm-archive-page.php
from
TAG with button style
$html .= "<div class='col-md-{$scols} col-tag'><a class='btn btn-{$btnstyle} btn-block text-left' href='$catlink' >{$icon} ".htmlspecialchars(stripslashes($category->name))."</a></div>";
to
TAG without button style
$html .= "<div class='col-md-{$scols} col-tag'><a class='wpdm-pcat' href='$catlink' > ".htmlspecialchars(stripslashes($category->name))."</a></div>";
Dear Shahriar,
after an upgrade made by you all in order to fix a bug in the wpmemberpro plugin (another support request), the code you provided is overrided in the sidebar.
The tag layout in the sidebar is the previous despite the activation of the code you provided in functions.php
Shortcode of the tags in sidebar [wpdm-tags cols="1"]
How can we fix it?
Perfect, thank you so much!!!
Hi Fahim,
thanks, but I already have seen that file. My questions are
1) page_template: I have a custom page template. E.g. 7djchsm3mskxjmc.php how can I set it? In whick folder it is? plugins/download-manager/tpls/page-templates does not shows it.
2) file_prices how can i set the price? If I set 10 (e.g. euros) this is not uploaded.
3) files: should I insert the full url of the file? e.g. https://www.domain.com/set/file.pdf? If I insert only the file name the file does not extract it.
Hi,
You may use some custom CSS to removed button style from tag.
OK, but which file I’m supposed to modify (custom css for button style tag)?
Thank you, I’ve modified the code.
Similar to this question: in the link template builder, or page template builder, I’ve the template variables.
E. G.
<div>[categories]</div>
<div>[description]</div>
<div>[tags]</div>
How can I remove button for tag and add button for download link?
In which file is the .css pull right class?
<div class="pull-right" align="right">
[download_link_popup]
</div>
And if I add the shortcode
[wpdm_login_form wpdm_reg_form]
it shows only two buttons that link to different pages (see attachment), one for registration and one for login but I would like to set the exact box of the first screenshot of the thread (tabmode).
I tried to add both the shortcodes
[wpdm_login_form][wpdm_reg_form]
but the result is not as the first screenshot.
See the attachment.
Thank you!
For the edit of css (eg. <span class="col-md-3">
for the width of the two remaining forms) which file I am supposed to open and edit?
wpdm-archive-page\wpdm-archive-page\libs\css is empty.
Update: curiously If I use two shortcodes I have different result for logged or not logged (credit/memberplan).
[wpdm_all_packages items_per_page="20" jstable=1 cols="title|categories|download_link" colheads="Title|Theme|Download"]
1) not logged: BUY BUTTON for the package with the credit and MemberPlan A —correct way (the package is the first of the all packages list)
2) logged as MemberPlan A user: BUY BUTTON for the package with the credit (the package moves down in the order of the all packages list!)
[wpdm-archive cat_view="compact"]
1) not logged: ADD TO CART BUTTON for the package with the credit and MemberPlan A
2) logged as MemberPlan A user: DOWNLOAD BUTTON for the package with the credit —correct way
In the line 484 line I added description tag
else
echo "<li class='file ext_$ext'><a href='" . wpdm_download_url(get_the_ID()) . "' rel='" . wpdm_download_url(get_the_ID()) . "'>" . get_the_title() . "</a>[description]</li>";
}
}
echo "</ul>";
die();
}
but clearly it is not supported; where should I add the description parameter?