vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

WitchyT 04-24-2003 11:05 PM

Ooh, weird. It's okay then. LOL I'll just change the character limit in the news.

WitchyT 04-24-2003 11:46 PM

I hate to be doing this again *lol* I'm having issues with your suggestion so I was wondering if you could help me hack my copy of newthread.php?

Tigga 04-24-2003 11:56 PM

You should probably edit your post and remove the attachment since you're not allowed to post full vB files here. ;)

To fix your newthread.php file you would need to chage this bit of code:
PHP Code:

      $DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible,hidden) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($subject))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconid','1','$hidden')"); 

To this:
PHP Code:

      $DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible,hidden,isnews) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($subject))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconid','1','$hidden','Y')"); 

Then you should upload the myvb_install.php file and select the option to update your news posts. That should update all the posts in that forum.

Red Blaze 04-25-2003 02:03 PM

Hey Tigga I was thinking. I'm not sure if this was asked before but, in the top 10 thread list, is there a possible way to make a "take to last post" link some where and "Who" made the thread instead of who the author of the thread was?
Do you know what I'm asking for? ^^;

EDIT: Never mind, I found a way, just a matter of copying links from threadbits and adding $bburl/ in front. Real cool, I'm a semi-hacker! XD

Tigga 04-25-2003 06:14 PM

Yep. I actually added in the mouse hover effect in v3.2, mostly so people could change that though the templates without any hacking. I've changed it to show the last post time and poster on my site as well, and moved the thread starter and time into the mouse over effect. :)

jjj0923 04-25-2003 10:19 PM

Licensed VB users beware of an individual with the an email address of tonyxp@msn.com asking you to supply the myvbindex hack to him. He wrote me and said he does not have permission to download the hack and asked me if I'd supply it to him.

I'll give you one guess as to my answer....."why don't you have permission?" :)


- jeff

Tigga 04-25-2003 10:42 PM

Heh... He emailed me 3 times today asking for the hack. I tried to ask him for the url to his site and he replied with this:

I don't own a live website or a license copy of vb right now. I just want
to install php things on my box at home to learn php purpose. If you could
help me out, I really appreciated.

I had already informed Erwin of him emailing me, so I'll be sure to point out your post as well jjj0923. :)

Dean C 04-26-2003 12:01 PM

Tigga I never showed you the design i did and the implementation of myvbindex. Take a look at www.diamondchitchat.com. I got paid quite a bit for designing/implementing this so i'm quite proud to show it off! :)

Just a side note though. please ignore the blue input fields and textareas ;). I never would use such disgusting things but the client changed it after we had finished so what can you do ;)

All the best
- Dean

Tigga 04-26-2003 09:44 PM

Nice design Mist. :)
I don't think I'd agree that the input fields look bad with the blue there though. I kinda like the blue there, but I do agree with you that it doesn't look quite right on the submit buttons.

Jacko 04-27-2003 05:47 PM

looks bang on mate. tigga, anything planned for an update at all?? dont mind beta stuff for you if ya want. i got your hack running sweet on my 2.2.9 and i am in the mood for addons :)


All times are GMT. The time now is 12:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02896 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete