![]() |
No worky
Invalid SQL: SELECT field21 as avatar FROM vb3_userfield WHERE userid=12 LIMIT 1; MySQL Error : Unknown column 'field21' in 'field list' Error Number : 1054 |
Quote:
5) Getting fancy with Avatars: To get the avatar of the pager receiver you need to do the following: 5.1 - Add a custom user text field on admin CP. (See blue screen cap)Write the number of your new field down. 5.2 - Edit the first line of the pagelog plugin (on the parse_templates section). Change $field="21" ; to $field="x" ; where x is your custom user text field number (9 or whatever) 5.3 - Edit the new pager_newpager template and replace it with your field name (field9 or whatever) **Note: Step 5 now allows receivers to have their custom avatar. Soon it will allow senders to use custom avatars (version 1.1) See the blue screen shot to ee how to fill up the user profile field screen |
i did this and it messed my whole database up if yall install thia hack be sure TO BACK UR DATABASES UP!!!!
|
Quote:
My hack just reads the database. It doesn't add any fields but the custom user profile field. Are you talking about vbPager ? Yes, vbPager DOES change the database and there's a big warning at the install page about backing up your database. Meh, backups are good precaution in any case. I'll add to the instructions above. |
Quote:
nice hack, i like it...just not the fact it doesnt pick up on your default avatar from the forum. |
Quote:
Easy enough to fix :D I'll post an update with it soon. The custom avatar code is refusing to work still :( so I might as well post the code with default avatar. Done! It shouldn't cause any more SQL errors, even for people who didn't do step 5 |
Quote:
|
Quote:
Upgrading from 1.0 to 1.1 =================== Steps 1) Modify the pager_newpager template: Replace the entire template with the code on the pager_newpager11.txt file 2) Modify the pagerlog plugin: Find the plugin under "parse_templates". Replace the entire plugin code with the code on the pagerlog11.txt file After that you should be all set. You won't need that new field you added before so you can either leave it, delete it or change it to be invisible to the user |
yo i don't want that pager number or know what pager nuber i am replying to in the pager window. how can i remove that. if u in a pager window with someone. all u really care about is the time the page was sent and the messages. great hack btw i always forget what i have said the next day ha ha
|
yo its giving me the wrong avatars for the message. i see why u got the pager number now. what's the point in this mod if it doesn't give u the correct person u replying to.
|
All times are GMT. The time now is 11:51 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:
|