Quote:
Originally Posted by addamroy
No I have been using the product submission form, this section of the forum will run almost entirely off products submitted by members so this feature likely won't be used at all.
|
Ahh!
If members input urls just run the bulk script and it should resize them for you.
Quote:
Originally Posted by addamroy
Also, if (!can_administer('canadminposts')) does not show up in the productforums.php file I have. I narrowed it down to canadminposts for a search in the file and it doesn't exist.
|
Are you looking in the admincp folder version? It's line 33 in my version.
Quote:
Originally Posted by addamroy
Another question, is there anyway you can write up a quick plug-in that hooks into showthread somewhere that registers the {vb:raw product.productid} variable for use in the showthread template of my product forums?
The reason for this is I've already added a custom 'write a review' button elsewhere on that page, a big blatant one, but I need to be able to append the product ID to the URL so it works and goes to the write a review page when it's clicked.
|
Try editing the hook showthread_post_start and adding
$thread['productid'] = $product['productid'];
Right after $show['largereplybutton'] = false;
This will make the variable thread.productid