![]() |
Hmm... I like the idea... And I installed...
But I don't get why I see nothing in under "Edit Canned Text" |
If the textboxes are empty it's because you haven't defined any custom text yet.
|
No, there's just nothing there. The table ends after "Edit Canned Text".
|
Then you didn't install the hack correctly, or you're not using my normal requirements of PHP 4.3.0 and vB 2.3.0 RC3.
|
To have the usercp navbar appear at the top of the page in your cannedtext page:
NOTE: You may want to edit the first part here. I have 9 items in my navbar. You may have less or more. Add this: PHP Code:
PHP Code:
Quote:
Quote:
|
I dont seem to have permission to access cannedtext.php, I am admin...
|
With my original cannedtext.php? It will load if your userid is not 0 (i.e., you're not a guest). Make sure you're logged in.
|
You do not have permission to access this page. This could be due to one of several reasons:
You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. Logged in user: Owen [logout] |
What are the first few lines of cannedtext.php?
|
Code:
<? |
the same happends to me....
do U know what's goin on? |
Make sure that you have the canned text settings correct in the admin CP
|
there's options only in the MAIN options of the vb?
because the only settig that i see is the max of words... |
the problem is in here
PHP Code:
|
Ready
change the line PHP Code:
PHP Code:
|
I think you need to go to the Admin CP and open the cannedtext options and save it for it to work right. I am using the same code (with a few usergroupids added) that you took out and it works fine for me. ;)
|
yea, that woz the problem. I didnt realise that installer added the settings...
|
What's more the installer makes the settings defaults of not 0 so it's weird that it happened. Either way that line works: if the user is a guest or the system is disabled, then deny access.
|
filburt, you might want to add that to the instruction file where they have to go to the options and hit enter to make it work. ;)
|
I have to edit my install script to edit the options template too (stupid vB way of doing settings...).
edit: I can't until I get home anyway because it's tricky to compress stuff in OS X. |
Whenever is fine. It will save you a lot of "it's not working, what's wrong" messages. I know how much time you need for math. Just trying to help. ;)
|
filburt, I put this hack in the newthread.php too, but I want to make sure I have to code in the right spot so as not too mess with anything else in there. I put the code for this hack below the following code:
PHP Code:
|
It should be pretty much anywhere after the permission checks and before showthread is eval'ed.
|
Well, it's in the Start New Thread section and the only permissions in there are for the poll posting. That is the last section of the file and a few lines up from the dooutput newthread. Hopefully it will be ok there.
|
Why does the "Canned Text" Nav option display correctly when accessing my User CP but when I click on anything else like Edit Options or Private Messages, it get's blacked out?
|
Bump! :)
|
I think it's a bug, look at that whole block of the same code with indicies 1 to 7 and add the 8th where appropriate.
|
filburt, is there a way to allow canned text to be added to the message instead of writing over anything we have in the message box when we use it? Right now, if I write anything in the message and click any canned text, it erases what is there and inserts the canned text.
|
Edit the Javascript added via the template mod (no, don't know how).
|
You and me both. ;) I'm disappointed now, filburt. I thought you were the "Ultimate Hacker" these days, capable of almost anything, with all of the great hacks you've been releasing. ;)
Does anyone else reading this thread know how to accomplish this? |
Quote:
I'm working on yet another addition to the Major Additions category :p |
Well, I guess we'll just have to see if you keep the "Ultimate Ultimate Hacker" status after you release it then, huh? ;)
You're going to have to do something pretty amazing to recover from this, though, I'm afraid. :p |
Quote:
|
Bump! :)
|
Great hack, will be installing this on my boards soon
|
filburt, how do we make it so the canned text boxes have 2 on each line instead of one box on each line and wasting all that space?
|
Just edit the cannedtext template but you'll loose the ability to dynamically show the correct number of textareas.
|
If I knew how to do it, I wouldn't have bothered you with it. ;)
I'm still new at tables, but isn't there a way to make it do 2 tables side by side for each line and do it something like that? |
Would be more efficient to make it 4 columns instead of the 2 it is now.
|
Ok, how can we do that?
|
All times are GMT. The time now is 07:33 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|